Refresh Token
Endpoint URL
POST https://api.tryoto.com/rest/v2/refreshToken
Example Request Body
Here is an example of a request body:
{
"refresh_token": "AMf-vBwIRQZypzlW7dH-4a-gXlW1zw3VLXwoTvnePZPT5V6AnSESwhk9h4DKRMbDGGaSbDrbF-Tui21wq5PCI33HS7RaAapIFmwziKjIAAfAI2TUY3Vz5fKSlUwKUUKjfB5GTsBnFGjR1zdq9dryhPK88utLrE1-DSbRjfgdy4NNG6RTxk2ST0BplDKOdFN-y4ilOlI4rY7F"
}
Request Parameters
Name | Required | Type | Description |
---|---|---|---|
refresh_token | yes | string | `refresh_token` can obtain token from the UI, this is permanent token, use only to get `access_token` |
This API endpoint is used to obtain a new `access_token` by providing a valid `refresh_token`. The `access_token` is a temporary token with a lifespan of one hour, used to authenticate and authorize all subsequent API requests.
Include the `access_token` in the request headers as:
`Authorization: Bearer access_token`
To adhere to security standards, it is recommended to renew the `access_token` periodically (every hour) to maintain uninterrupted access to the API while minimizing security risks. This endpoint ensures seamless and secure token management for applications relying on API interactions.
Request Parameters: |
Health Check
Endpoint URL
GET https://api.tryoto.com/rest/v2/healthCheck
Available Packages: All Packages
This API endpoint is used to check if the system is working properly
Test Token Copy 2
Endpoint URL
GET https://staging-api.tryoto.com/rest/v2/test
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article