post https://eu.api.capillarytech.com/auth/v1/token/generate
This API generates an authentication token for the Store Locator API, include the returned token in the cap_authorization
header of the request to securely access store location data.
Request Body parameters
Parameter | Type | Description |
---|---|---|
identifierType | string | Type of identifier, e.g. MOBILE, EMAIL, or USERNAME |
identifierValue | string | Identifier value, e.g. a mobile number |
deviceId | string | Unique device ID |
brand | string | Brand name |
Response Body parameters
Field | Type | Description |
---|---|---|
token | string | The authentication token |
expiresIn | integer | Time in seconds until it expires |