Integrations API - Authentication
All API interactions will require a valid access token from Auth0 to interact with Jebbit’s API application. Please speak with your Jebbit Customer Success Representative to request your account's Auth0 API client_id and client_secret needed to generate the access token. There are four parameters that need to be included in your request to receive your Auth0 token:
Header | Value | Type | Description |
client_id | your client id | string | Provided to you by Jebbit |
client_secret | your client secret | string | Provided to you by Jebbit |
audience | public-api | string | |
grant_type | client_credentials | string |
Example Request:
curl -X POST "https://auth.jebbit.com/oauth/token" \
-d '{"client_id": "client_id", "client_secret": "client_secret", "audience": "public-api", "grant_type": "client_credentials"}'
Example Response:
{ "access_token":"YOUR.JWT.HERE", "scope":"read:business:abc123 read:integration write:integration", "expires_in":86400, "token_type":"Bearer" }
All generated tokens are valid for 24 hours. Please generate one token and reuse it throughout that time frame.
Making API Requests:
Jebbit requires your API key to be included in all API requests to the server in a header that looks like the following: Authorization: Bearer YOUR.JWT.HERE
. You must replace YOUR.JWT.HERE
with your business API key.