Skip to content

Phase 1 - Request a Token Key

Request

Returns the token key that is required in Phase 2.

Query
account_idstringrequired

Provided by AVANSER.

Example:account_id=example.user
api_keystringrequired

Provided by AVANSER.

Example:api_key=gwEwmEJbgaN6QQA
curl -i -X GET \
  'https://api.avanser.com/JSON?action=getTokenKey?account_id=example.user&api_key=gwEwmEJbgaN6QQA'

Responses

Returns the token key that is required in Phase 2.

Bodyapplication/json
tokenKeystringrequired
Example:"8OjmnMvJI83lwcc3KPMv3H3Xx86uwkGs"
Response
{ "tokenKey": "8OjmnMvJI83lwcc3KPMv3H3Xx86uwkGs" }