Skip to main content

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

{'Content-Type': 'application/json; charset=utf-8'}

Body

NameDescription
emailAddressEmail Id of partner to authenticate.
passwordPassword associated with the partner account.
  • Sample Request Body
 {
"emailAddress": "partner@local.com",
"password": "password"
}

Response

HTTP Status Codes

  • Success Response
StatusDescription
200Authentication successful. Token returned.
  • Error Responses
StatusDescription
400Bad Request –> Invalid input or bad request.
401Unauthorized – Invalid credentials.
403Forbidden – User lacks necessary permissions.
429Too Many Requests – Too many requests - Rate limit exceeded.
500Internal 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"
}