renew
Overview
This method issues a new API access token without needing to supply a username and password again. It returns a new token that can be used for subsequent requests.
Use this API to keep a session active before the current access token expires.
Permissions
No API permission is required to run this method. A valid access token from the authenticate API must be supplied.
HTTP Method
Use the HTTP Method 'POST' for consuming this web service.
URL Examples
https://api.demo.catch-e.com/renew https://api.{{environment}}.catch-e.com/renew https://api.test.catch-e.com/renew Input Fields (Header)
This method has no request body.
Response Details
Success
201 - Created
{ "access_token": "[ACCESS-TOKEN]", "expires_in": 3600, "token_type": "bearer" } Error Response Details
{ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unauthorized", "status": 401, "detail": "Unauthorized" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Forbidden", "status": 403, "detail": "Forbidden" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Not Acceptable", "status": 406, "detail": "Not Acceptable" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "Unsupported Media Type", "status": 415, "detail": "Not Acceptable" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" } { "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "title": "string", "status": 599, "detail": "string" }