Skip to content

Get Security Token

Use this endpoint to get the security token that is used throughout the rest of the documentation.

1
GET /token

Input Parameters

Query Param Type Required Description
sourceCustomerId string Required The source customer ID. This is obfuscated unique customer identifier.

Output

If the customer specified cannot be found, this endpoint will return a 404 status code along with the standard error response.

For successful responses, the endpoint returns a JSON object with the following property:

Property Type Description
token string The security token.

Info

Note: This token does not expire and does not contain expiration information, however, it is safest to assume that tokens will only work during the time a customer is logged in.


Example

Request

1
GET /api/v1/token?sourceCustomerId=27299536

Response

1
200 OK
1
2
3
{
   "token":"C1FA3C38-1B28-4B54-A2F8-E577FFEEF9F5"
}
1
404 Not Found or 500 Server Error