Get Refresh Token
Overview
This endpoint allows an Implementation Partner to refresh their access token using a valid refresh_token, authenticated through the IntelliBuddies Identity Manager.
Endpoint Details
URL:
/api/integration/partner/refreshtoken
Method :
POST
Request
Header
{'Content-Type': 'application/json; charset=utf-8'}
Body
Name | Description |
---|---|
refreshToken | The valid refresh token to be exchanged for a new access token. |
- Sample Request Body
{
"refreshToken": "2E030A741F52EE19DE8A097E476F41C881912020E3578FBEB775D126269FC316"
}
Response:
HTTP Status Codes
- Success Response
Status | Description |
---|---|
200 | Authentication successful. Token returned. |
- Error Responses
Status | Description |
---|---|
400 | Bad Request –> Invalid input or bad request. |
401 | Unauthorized – Invalid credentials. |
403 | Forbidden – User lacks necessary permissions. |
429 | Too Many Requests – Too many requests - Rate limit exceeded. |
500 | Internal Server Error – An unexpected error occurred during request processing. |
Response Body
Example URL and Response
https://accounts.onintellibuddies.com/api/integration/partner/refreshtoken
{
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjUxMkE0MzdBOTY5NkQ2OEI2MUMzRTgzQzVEQjJEMUVGMkNBOTg4MkZSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6IlVTcERlcGFXMW90aHctZzhYYkxSN3l5cGlDOCJ9....",
"refresh_token": "7A17D4F3D829DCC6F28BA4D37640B4DCF02015D2DC3C04B95B15DC0E02768E06",
"expires_in": 1800,
"token_type": "Bearer"
}