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

ListExternalSyncTokens

List all tokens created by org

GET
/api/v1/external-sync:list-tokens

Query Parameters

pageSizeinteger

The maximum number of tokens to return. The service may return fewer than this value. If unspecified, at most 50 tokens will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Optional.

Format: "int64"

pageTokenstring

A page token, received from a previous ListExternalSyncTokens call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListExternalSyncTokens must match the call that provided the page token. Optional.

filterstring

A Common Expression Language (CEL) filter string. There are currently no available fields. For further information about how to use CELs, please refer to this guide.

orderBystring

How to order the retrieved user defined functions. Formatted as a comma-separated string i.e. "FIELD_NAME[ desc],...". Available field to order_by is created_date. If left empty, items are ordered by created_date in descending order (newest-first). For more information about the format of this field, read this Example: "created_date asc".

curl -X GET "<API_URL>/api/v1/external-sync:list-tokens?pageSize=0&pageToken=string&filter=string&orderBy=string" \
  -H "Authorization: Bearer <API_KEY>"

A successful response.

{
  "externalSyncTokens": [
    {
      "tokenId": "string",
      "lifetimeSeconds": 0,
      "createdDate": "2019-08-24T14:15:22Z",
      "createdByUserId": "string"
    }
  ],
  "nextPageToken": "string"
}