Sift | Docs
APIReferenceREST (HTTP/JSON)External sync service

GenerateToken

Generates a token for synchronizing an organization's users and groups

POST
/api/v1/external-sync:generate-token

Request Body

application/jsonRequired

body
Required
object

curl -X POST "<API_URL>/api/v1/external-sync:generate-token" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{}'

A successful response.

{
  "externalSync": {
    "organizationId": "string",
    "mostRecentSyncDate": "2019-08-24T14:15:22Z",
    "mostRecentSyncByUserId": "string",
    "scimServerUrl": "string",
    "tokenCreatedDate": "2019-08-24T14:15:22Z",
    "tokenLifetimeSeconds": 0,
    "mostRecentTokenByUserId": "string"
  },
  "token": "string"
}