POST
/
sync_management_links
Create a new sync management link
curl --request POST \
  --url https://app.getcensus.com/api/v1/sync_management_links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "redirect_uri": "<string>"
}'
{
  "status": "created",
  "data": {
    "id": 469,
    "type": "SyncConfiguration",
    "expiration": "2023-07-22T23:42:47.239Z",
    "expired": false,
    "revoked": false,
    "uri": "https://app.getcensus.com/embedded_sync_wizard?auth=expiring_auth_key",
    "redirect_uri": "<string>",
    "sync_id": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Body

application/json
redirect_uri
string<uri>

The redirect URI, if any, associated with the Sync Management Link. The URL that you'd like the end-user to be redirected to after creating the sync. The redirect URI can be configured globally under your organization settings in the Census UI or on dynamically via the API when creating a Sync Management Link.

Response

Sync management link created successfully

status
enum<string>

Outcome of the operation.

Available options:
success,
updated,
created,
not_found,
error
Example:

"created"

data
object