Get a new token
GET
/get-token
const url = 'https://example.com/get-token';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/get-tokenExchange the refresh token implicit in the request for a new one
Responses
Section titled “ Responses ”Success
Media type application/json
object
token
string
Example generated
{ "token": "example"}