Get API Key
Overview
This endpoint allows an Implementation Partner to authenticate via the IntelliBuddies Identity Manager and receive an access_token and refresh_token upon success.
Endpoint Details
URL:
/api/integration/partner/login
Method:
POST
Request
Header
{'Content-Type': 'application/json; charset=utf-8'}
Body
Name | Description |
---|---|
emailAddress | Email Id of partner to authenticate. |
password | Password associated with the partner account. |
- Sample Request Body
{
"emailAddress": "partner@local.com",
"password": "password"
}
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/login
{
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjUxMkE0MzdBOTY5NkQ2OEI2MUMzRTgzQzVEQjJEMUVGMkNBOTg4MkZSUzI1NiIsInR5cCI6ImF0K2p3dCIsIng1dCI6IlVTcERlcGFXMW90aHctZzhYYkxSN3l5cGlDOCJ9...",
"refresh_token": "2E030A741F52EE19DE8A097E476F41C881912020E3578FBEB775D126269FC316",
"expires_in": 1800,
"token_type": "Bearer"
}