Api reference
Exchange Pairing or Refresh Token
Exchanges an approved `pairing_id` + `device_code`, or rotates an active `zlr_` refresh token, for a fresh `zla_` access token (15 min lifetime).
POST
Exchanges an approved pairing_id + device_code, or rotates an active zlr_ refresh token, for a fresh zla_ access token (15 min lifetime).
application/json- body
grant_type*stringValue in
"pairing""refresh_token"pairing_id?stringdevice_code?stringrefresh_token?stringReturns access_token (zla_...), refresh_token (zlr_...), and token_type: Bearer.
curl -X POST 'https://app.zelitho.com/api/v1/auth/token' \ -H 'Content-Type: application/json' \ -d '{ "grant_type": "pairing"}'Example Response200
Empty