Adhering to standards and enforcing security are key business considerations for you and for Beeline. Beeline APIs authentication requirements meet Internet Engineering Task Force (IETF) standards. The IETF is a world-recognized open standards organization.
OAuth (open-standard authorization) 2.0 protocol with client credentials using Auth0 is required for most APIs. The OAuth 2.0 framework is an industry-standard for authorizing designated secure access to APIs. Auth0 provides a robust authentication framework.
Before you leverage the power of Beeline APIs, you need to complete these steps:
After you're registered with and have been authenticated and authorized by Beeline, follow these steps to start calling Beeline APIs in your test environment.
The Beeline Integrations team will securely transmit your API credentials to you. This will include a Client ID, a Client Secret, and your Client Site ID. Please have these readily available for the steps that follow.
Send a POST request with the following payload body to the authorization server, where audience = the base URL for the API you are using. Please see below for examples.
https://integrations.auth.beeline.com/oauth/token
There is rate limiting on token requests. Access tokens expire 24 hours after they are issued. Please securely cache your tokens and reuse them until they expire. When you need a new token, please use the POST request to get a new one.
{ "client_id":"myClientId", "client_secret":"myClientSecret", "audience":"https://edge.beeline.com/client-onboarding", "grant_type":"client_credentials" }
{ "client_id":"myClientId", "client_secret":"myClientSecret", "audience":"https://edge.beeline.com/worker", "grant_type":"client_credentials" }
{ "client_id":"myClientId", "client_secret":"myClientSecret", "audience":"https://edge.beeline.com/reporting", "grant_type":"client_credentials" }
{ "client_id":"myClientId", "client_secret":"myClientSecret", "audience":"https://client.beeline.com/api", "grant_type":"client_credentials" }
{ "access_token": "your_token_would_be_here", "expires_in": 86400, "token_type": "Bearer" }
You are ready to call Beeline APIs.
Add an authorization header to your requests with the value Bearer {access_token}, where access_token=the token you just obtained:
Authorization: Bearer {access_token}
For further information on calling specific Beeline APIs, please go to the API Products page, find the API you are interested in, and click on “View Documentation.”
Do you need help with or have questions about Beeline's APIs? Do you have general questions, comments, suggestions, or specific requirements? Beeline is here to assist you!
Get Support