API access and partner integrations
Partner agencies that need referral status in a workspace can poll the signed-in integration feed for referral changes since a known time. This page lists the endpoints, the polling rules, and the limits that apply. It answers the question that visitors ask on the demo request page about public API access.
Staff with an invited workspace can Sign in from the header. This page does not create a workspace and it does not sign you in.
There is no public anonymous API
SafeConnect does not offer a public API that a visitor can call without signing in. Partner access uses the signed-in integration feed inside a workspace. A person who wants to use the feed signs in with MAJIC and needs the referrals.view permission for that workspace.
What partner access can do
A partner who has the permission can list verified partner agencies, list referrals in scope, poll referral changes since a known time, and look up one referral by its reference code. Each response carries directory fields or referral status only. It does not carry survivor names, case notes, message text, or other survivor detail.
Endpoints in the signed-in feed
The feed base is /api/integration. The capabilities endpoint describes the surface. The partners endpoint lists agencies. The referrals endpoint lists referrals. The changes endpoint polls changes. The referral by reference code endpoint looks up one referral. Every endpoint uses GET and the referrals.view permission.
| Method | Path | Use | Returns |
|---|---|---|---|
| GET | /api/integration/capabilities | Describe the feed surface and the connection steps | base, auth, permission, endpoints and surface |
| GET | /api/integration/partners | List partner agencies in scope | directory fields only |
| GET | /api/integration/referrals | List referrals in scope | reference code and status only |
| GET | /api/integration/changes | Poll referral changes since a known time | change rows with reference code and status only |
| GET | /api/integration/referrals/:referenceCode | Look up one referral by reference code | one referral status by reference code |
Response format for JSON API calls in this pack
Read a JSON API reply with the single envelope stated on the API response format page. Status, content type and the ok value are read together. An HTML reply is not a JSON API success, even when the status is 200. A failure reply uses ok exactly false with a plain error sentence and no survivor detail.
Polling for changes
The feed polls for changes and does not send webhooks. A client asks for changes since a known time, reads the changes, and then uses the next since time returned with the page for the next poll. The changes limit defaults to 100 and accepts 1 to 200. Requests are same-origin and use the signed-in MAJIC session.
What the feed does not do
There are no webhooks. There are no external connections. There is no SAML step. A referral that was sent alone never counts as a first connection. First connection is counted only at or after the sent time.
How to ask for pilot access
A program that wants to use the feed can ask for a pilot through the demo request form and choose the integrations topic. The form records the page where the request started. A pilot request is not a public API and does not create a workspace. The demo request does not create a workspace.
Ask for the connection you need
Choose the topic in the demo form and state the system and the task with organization details only.