Connect an ATS

POST
/ats/connections

Creates a pending connection and returns a hosted connect link. An admin opens the URL and completes credentials on the provider's own screen; no ATS credential passes through this API. Requires ats:write and a live client-admin role.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key from Settings > API access, sent as Authorization: Bearer sp_live_.... Send exactly one credential per request; a request carrying both a bearer token and a session cookie is rejected rather than resolved by precedence.

Request Body

application/json
  1. body
integrationSlug?|

An ATS provider slug such as ashby; omit for the picker.

Response Body

The pending connection and its link.

application/json
  1. response
id?string
status?string
magicLinkUrl?string|null
expiresAt?string
Formatdate-time
Example Request
curl -X POST 'https://app.superposition.ai/api/v1/ats/connections' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "status": "string",  "magicLinkUrl": "string",  "expiresAt": "2019-08-24T14:15:22Z"}

Last updated on