Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Devapi API

Last updated . Documentation for the current release. Ask in the product.

18 operations. Back to the API overview. Examples use synthetic data.

Api clients list

GET /admin/v1/api-clients

Needs the permissions: developers:manage, transactions:read.

Response 200

Response fields of Api clients list
FieldTypePresenceDescription
api_terms_versionanyoptional-
base_urlanyoptional-
can_manageanyoptional-
clientsanyoptional-
max_clientsanyoptional-
scopesanyoptional-
Example response (synthetic data)
{
  "api_terms_version": {},
  "base_url": {},
  "can_manage": {},
  "clients": {},
  "max_clients": {},
  "scopes": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients"

Api client create

POST /admin/v1/api-clients

Needs the permissions: developers:manage, payload:read.

Request body

Request body of Api client create
FieldTypePresenceDescription
accept_terms_versionstringoptionalAcceptTermsVersion is the version of the API Terms of Use the administrator accepted for this client (checked by the admin API).
authstringoptional-
environmentstringoptional-
jwksstringoptional-
namestringoptional-
public_key_pemstringoptional-
rate_per_minuteintegeroptional-
routesarray of stringoptional-
scopesarray of stringoptional-
send_typesarray of stringoptional-
Example request body (synthetic data)
{
  "accept_terms_version": "1",
  "auth": "example",
  "environment": "example",
  "jwks": "example",
  "name": "example-name",
  "public_key_pem": "example",
  "rate_per_minute": 1,
  "routes": [
    "example"
  ],
  "scopes": [
    "example"
  ],
  "send_types": [
    "example"
  ]
}

Response 201

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"accept_terms_version":"1","auth":"example","environment":"example","jwks":"example","name":"example-name","public_key_pem":"example","rate_per_minute":1,"routes":["example"],"scopes":["example"],"send_types":["example"]}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients"

Api client get

GET /admin/v1/api-clients/{id}

Needs the permission: transactions:read.

Parameters

Parameters of Api client get
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Api client get
FieldTypePresenceDescription
authstringoptional-
created_atstring (date-time)optional-
created_bystringoptional-
endpointsmap of stringoptional-
environmentstringoptional-
idstringoptional-
key_countintegeroptional-
last_used_atstring (date-time)optional-
link_idstringoptional-
namestringoptional-
previous_secret_valid_untilstring (date-time)optional-
quickstartobject (DevapiQuickstart)optionalQuickstart holds copy-paste samples for one client.
quickstart.curlstringoptional-
quickstart.nodestringoptional-
quickstart.pythonstringoptional-
rate_per_minuteintegeroptional-
revoked_atstring (date-time)optional-
routesarray of stringoptional-
scopesarray of stringoptional-
send_typesarray of stringoptional-
statusstringoptional-
usage_30dobject (DbAPIClientUsage)optionalAPIClientUsage is a client's activity over the last 30 days (counts).
usage_30d.Errorsintegeroptional-
usage_30d.Eventsintegeroptional-
usage_30d.Requestsintegeroptional-
usage_30d.WebhookFailuresintegeroptional-
Example response (synthetic data)
{
  "auth": "example",
  "created_at": "2026-01-15T14:30:00Z",
  "created_by": "example",
  "endpoints": {
    "example": "example"
  },
  "environment": "example",
  "id": "example-id",
  "key_count": 1,
  "last_used_at": "2026-01-15T14:30:00Z",
  "link_id": "example-id",
  "name": "example-name",
  "previous_secret_valid_until": "2026-01-15T14:30:00Z",
  "quickstart": {
    "curl": "https://example.org/resource",
    "node": "example",
    "python": "example"
  },
  "rate_per_minute": 1,
  "revoked_at": "2026-01-15T14:30:00Z",
  "routes": [
    "example"
  ],
  "scopes": [
    "example"
  ],
  "send_types": [
    "example"
  ],
  "status": "ok",
  "usage_30d": {
    "Errors": 1,
    "Events": 1,
    "Requests": 1,
    "WebhookFailures": 1
  }
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id"

Api client keys

POST /admin/v1/api-clients/{id}/keys

Needs the permission: developers:manage.

Parameters

Parameters of Api client keys
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Api client keys
FieldTypePresenceDescription
jwksstringoptional-
public_key_pemstringoptional-
Example request body (synthetic data)
{
  "jwks": "example",
  "public_key_pem": "example"
}

Response 200

Response fields of Api client keys
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"jwks":"example","public_key_pem":"example"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id/keys"

Api client revoke

POST /admin/v1/api-clients/{id}/revoke

Needs the permission: developers:manage.

Parameters

Parameters of Api client revoke
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Api client revoke
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id/revoke"

Api client rotate

POST /admin/v1/api-clients/{id}/rotate-secret

Needs the permission: developers:manage.

Parameters

Parameters of Api client rotate
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Api client rotate
FieldTypePresenceDescription
overlap_hoursintegeroptional-
Example request body (synthetic data)
{
  "overlap_hours": 1
}

Response 200

Response fields of Api client rotate
FieldTypePresenceDescription
client_secretanyoptional-
client_secret_noticestringoptional-
previous_secret_valid_untilanyoptional-
Example response (synthetic data)
{
  "client_secret": {},
  "client_secret_notice": "example",
  "previous_secret_valid_until": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"overlap_hours":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id/rotate-secret"

Api client scope

POST /admin/v1/api-clients/{id}/scope

Needs the permissions: developers:manage, payload:read.

Parameters

Parameters of Api client scope
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Api client scope
FieldTypePresenceDescription
rate_per_minuteintegeroptional-
routesarray of stringoptional-
scopesarray of stringoptional-
send_typesarray of stringoptional-
Example request body (synthetic data)
{
  "rate_per_minute": 1,
  "routes": [
    "example"
  ],
  "scopes": [
    "example"
  ],
  "send_types": [
    "example"
  ]
}

Response 200

Response fields of Api client scope
FieldTypePresenceDescription
statusstringoptional-
tokens_endedanyoptional-
Example response (synthetic data)
{
  "status": "ok",
  "tokens_ended": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"rate_per_minute":1,"routes":["example"],"scopes":["example"],"send_types":["example"]}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id/scope"

Api webhook disable

POST /admin/v1/api-clients/{id}/webhooks/{wid}/disable

Needs the permission: developers:manage.

Parameters

Parameters of Api webhook disable
NameInTypePresenceDescription
idpathstringrequired-
widpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Api webhook disable
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/api-clients/example-id/webhooks/example-wid/disable"

GET /admin/v1/vendor-links

Needs the permissions: developers:manage, transactions:read.

Response 200

Response fields of Vendor links list
FieldTypePresenceDescription
can_manageanyoptional-
hubanyoptional-
linksanyoptional-
terms_versionanyoptional-
Example response (synthetic data)
{
  "can_manage": {},
  "hub": {},
  "links": {},
  "terms_version": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links"

Vendor query systems

GET /admin/v1/vendor-links/query-systems

Needs the permission: transactions:read.

Response 200

Response fields of Vendor query systems
FieldTypePresenceDescription
policiesanyoptional-
served_typesanyoptional-
systemsarray of object (QuerySystemView)optional-
systems.[]idstringoptional-
systems.[]methodstringoptional-
systems.[]namestringoptional-
systems.[]profilestringoptional-
systems.[]readybooleanoptional-
systems.[]resourcesarray of stringoptional-
systems.[]summarystringoptional-
Example response (synthetic data)
{
  "policies": {},
  "served_types": {},
  "systems": [
    {
      "id": "example-id",
      "method": "example",
      "name": "example-name",
      "profile": "example",
      "ready": true,
      "resources": [
        "example"
      ],
      "summary": "example"
    }
  ]
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/query-systems"

Vendor requests list

GET /admin/v1/vendor-links/requests

Needs the permission: developers:manage.

Response 200

Response fields of Vendor requests list
FieldTypePresenceDescription
requestsanyoptional-
terms_versionanyoptional-
Example response (synthetic data)
{
  "requests": {},
  "terms_version": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/requests"

Accepts a vendor's request with the scope the provider chooses (never wider than requested), after the BAA attestation and the Vendor Hub Terms

POST /admin/v1/vendor-links/requests/{id}/accept

Accepts a vendor's request with the scope the provider chooses (never wider than requested), after the BAA attestation and the Vendor Hub Terms; it creates the link and its API client (the vendor's registered public keys, production, bound to the link) in one audited transaction.

Needs the permission: developers:manage.

Parameters

Parameters of Accepts a vendor's request with the scope the provider chooses (never wider than requested), after the BAA attestation and the Vendor Hub Terms
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Accepts a vendor's request with the scope the provider chooses (never wider than requested), after the BAA attestation and the Vendor Hub Terms
FieldTypePresenceDescription
baa_attestedbooleanoptional-
data_scopesarray of stringoptionalPartner FHIR access: the scopes granted (nil: read and search on every type the vendor asked for), the query system and the patient policy (default identifier_or_demographics).
patient_policystringoptional-
purposestringoptional-
query_systemstringoptional-
receive_routesarray of stringoptional-
send_typesarray of stringoptional-
terms_versionstringoptional-
Example request body (synthetic data)
{
  "baa_attested": true,
  "data_scopes": [
    "example"
  ],
  "patient_policy": "example",
  "purpose": "example",
  "query_system": "example",
  "receive_routes": [
    "example"
  ],
  "send_types": [
    "example"
  ],
  "terms_version": "1"
}

Response 201

Response fields of Accepts a vendor's request with the scope the provider chooses (never wider than requested), after the BAA attestation and the Vendor Hub Terms
FieldTypePresenceDescription
client_idanyoptional-
endpointsmap of stringoptional-
linkobject (DbVendorLink)optionalVendorLink is one accepted vendor hub link.
link.BAAAttestedbooleanoptional-
link.BulkAllPatientsbooleanoptional-
link.BulkAllPatientsAtstring (date-time)optional-
link.BulkAllPatientsBystringoptional-
link.BulkEpochintegeroptional-
link.BulkFreshnessHoursintegeroptional-
link.BulkTypesarray of stringoptionalBulk export (migration 0097): the types the provider lets the link export, the all-patients grant (who enabled it, when), the freshness period of held exports in hours and the epoch.
link.CreatedAtstring (date-time)optional-
link.DataScopesarray of stringoptionalPartner FHIR access (migration 0096): the scopes the provider granted (never wider than RequestedDataScopes, what the vendor asked for), the partner query system the facade answers from and the patient policy.
link.DecidedBystringoptional-
link.IDstringoptional-
link.PatientPolicystringoptional-
link.Purposestringoptional-
link.QuerySystemstringoptional-
link.ReceiveRoutesarray of stringoptional-
link.RequestedDataScopesarray of stringoptionalPartner FHIR access (migration 0096): the scopes the provider granted (never wider than RequestedDataScopes, what the vendor asked for), the partner query system the facade answers from and the patient policy.
link.SendTypesarray of stringoptional-
link.Statusstringoptional-
link.StatusReasonstringoptional-
link.TermsVersionstringoptional-
link.UpdatedAtstring (date-time)optional-
link.VendorAccountstringoptional-
link.VendorNamestringoptional-
link.VendorSuspendedbooleanoptional-
link.Versionintegeroptional-
Example response (synthetic data)
{
  "client_id": {},
  "endpoints": {
    "example": "example"
  },
  "link": {
    "BAAAttested": true,
    "BulkAllPatients": true,
    "BulkAllPatientsAt": "2026-01-15T14:30:00Z",
    "BulkAllPatientsBy": "example",
    "BulkEpoch": 1,
    "BulkFreshnessHours": 1,
    "BulkTypes": [
      "example"
    ],
    "CreatedAt": "2026-01-15T14:30:00Z",
    "DataScopes": [
      "example"
    ],
    "DecidedBy": "example",
    "ID": "example-id",
    "PatientPolicy": "example",
    "Purpose": "example",
    "QuerySystem": "example",
    "ReceiveRoutes": [
      "example"
    ],
    "RequestedDataScopes": [
      "example"
    ],
    "SendTypes": [
      "example"
    ],
    "Status": "ok",
    "StatusReason": "ok",
    "TermsVersion": "1",
    "UpdatedAt": "2026-01-15T14:30:00Z",
    "VendorAccount": "example",
    "VendorName": "example-name",
    "VendorSuspended": true,
    "Version": 1
  }
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"baa_attested":true,"data_scopes":["example"],"patient_policy":"example","purpose":"example","query_system":"example","receive_routes":["example"],"send_types":["example"],"terms_version":"1"}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/requests/example-id/accept"

Vendor request decline

POST /admin/v1/vendor-links/requests/{id}/decline

Needs the permission: developers:manage.

Parameters

Parameters of Vendor request decline
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Vendor request decline
FieldTypePresenceDescription
statusstringoptional-
Example response (synthetic data)
{
  "status": "ok"
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/requests/example-id/decline"

Vendor link activity

GET /admin/v1/vendor-links/{id}/activity

Needs the permission: transactions:read.

Parameters

Parameters of Vendor link activity
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Vendor link activity
FieldTypePresenceDescription
by_dayanyoptional-
notestringoptional-
recentanyoptional-
requestsintegeroptional-
resources_returnedintegeroptional-
sinceanyoptional-
Example response (synthetic data)
{
  "by_day": {},
  "note": "example",
  "recent": {},
  "requests": 1,
  "resources_returned": 1,
  "since": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request GET \
  --header "Authorization: Bearer $ID_TOKEN" \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/activity"

Approves the vendor's current keys for a link that requires approval

POST /admin/v1/vendor-links/{id}/approve-keys

Approves the vendor's current keys for a link that requires approval; the broker applies them at its next sync (within 5 minutes).

Needs the permission: developers:manage.

Parameters

Parameters of Approves the vendor's current keys for a link that requires approval
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Approves the vendor's current keys for a link that requires approval
FieldTypePresenceDescription
applies_withinstringoptional-
approvedanyoptional-
linkanyoptional-
Example response (synthetic data)
{
  "applies_within": "example",
  "approved": {},
  "link": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/approve-keys"

Vendor link data access

POST /admin/v1/vendor-links/{id}/data-access

Needs the permission: developers:manage.

Parameters

Parameters of Vendor link data access
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Vendor link data access
FieldTypePresenceDescription
data_scopesarray of stringoptional-
patient_policystringoptional-
query_systemstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "data_scopes": [
    "example"
  ],
  "patient_policy": "example",
  "query_system": "example",
  "version": 1
}

Response 200

Response fields of Vendor link data access
FieldTypePresenceDescription
appliesstringoptional-
linkanyoptional-
Example response (synthetic data)
{
  "applies": "example",
  "link": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"data_scopes":["example"],"patient_policy":"example","query_system":"example","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/data-access"

Sets whether the link requires this provider's approval when the vendor's keys change...

POST /admin/v1/vendor-links/{id}/key-policy

Sets whether the link requires this provider's approval when the vendor's keys change (default: the provider is told of every change and the new keys apply at once). Audited before the control plane is asked; nothing changes when the audit cannot be written.

Needs the permission: developers:manage.

Parameters

Parameters of Sets whether the link requires this provider's approval when the vendor's keys change...
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Sets whether the link requires this provider's approval when the vendor's keys change...
FieldTypePresenceDescription
require_approvalbooleanoptional-
Example request body (synthetic data)
{
  "require_approval": true
}

Response 200

Response fields of Sets whether the link requires this provider's approval when the vendor's keys change...
FieldTypePresenceDescription
linkanyoptional-
require_key_approvalanyoptional-
Example response (synthetic data)
{
  "link": {},
  "require_key_approval": {}
}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"require_approval":true}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/key-policy"

Vendor link status

POST /admin/v1/vendor-links/{id}/status

Needs the permission: developers:manage.

Parameters

Parameters of Vendor link status
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Vendor link status
FieldTypePresenceDescription
reasonstringoptional-
statusstringoptional-
versionintegeroptional-
Example request body (synthetic data)
{
  "reason": "Example text",
  "status": "ok",
  "version": 1
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 400 Bad Request
  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 409 Conflict (changed since read, or a state conflict)
  • 503 Unavailable (nothing was changed)
Example request
curl --request POST \
  --header "Authorization: Bearer $ID_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"reason":"Example text","status":"ok","version":1}' \
  "https://YOUR-CONSOLE-HOST/admin/v1/vendor-links/example-id/status"

Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.