/token

View as Markdown
POST API login parameters to request an API token for x-auth header authentication. Required: api_key string api_secret string Expires is UNIX timestamp in seconds from epoch UTC. Request a new token before expiry to avoid API request errors. Return: { "token": { "value": "98ikasfd08oi43qs9d0uik48wu0oiweiuh4f9a87uiasdf78q9yd8oasudfy7893898u09afijoja4w8oaf8osoadf8o2oohhasdf80", "expires": "1558413892" } }

Request

This endpoint expects an object.
usernamestringRequired
passwordstringRequired

Response headers

Cache-ControlstringOptional
X-Debug-TokenstringOptional
Keep-AlivestringOptional

Response

OK
tokenstring