GET /api/v1/tokens
List your tokens.

Supported Formats

json

Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/tokens?page=1&order=created_at"

Params

Param name
Description
page
Optional

Return the next page of results.

  • Must be a number.


GET /api/v1/tokens/:id
Get details about a token.

Supported Formats

json

Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/tokens/1"

GET /api/v1/tokens/new
Build Token with defaults.

Supported Formats

json

PUT /api/v1/tokens/:id
Update a token.

Supported Formats

json

Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/tokens/1"

Params

Param name
Description
color
Optional

Background Color

  • Must be String

text_color
Optional

Background Color

  • Must be String

sortable_order
Optional

translation missing: en.api.tokens.sortable_order

  • Must be String


DELETE /api/v1/tokens/:id
Destroy Token by id.

Supported Formats

json

Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X DELETE "https://[your-subdomain].trackdrive.com/api/v1/tokens/:id"

GET /api/v1/tokens/fields
Get details about a token.

Supported Formats

json

Params

Param name
Description
lead_token
Optional

translation missing: en.api.lead_token

  • Must be String