Generating OAuth access tokens

This section explains how to generate an OAuth access token by using the client credentials grant type to authenticate with the Beeline Professional API.

OAuth is used to securely authenticate integration clients. To generate a token, submit the client ID and client secret for a registered integration client.

Access tokens are time-limited. If you update any security policies, generate a new token before retesting API access. For more information, see Importing security and permissions.

For more information about authentication and filtering, see Beeline Professional Edition Connect V1.0 documenation.

Before you begin

  • Ensure the integration client has the required security policies and permissions. Otherwise, API access is denied.

Steps

Use the following request to generate an OAuth access token:

  1. Set the HTTP method to POST.

  2. Send the request to the following endpoint:

    For example:

  3. Include the required headers and body parameters:

    Request headers

    Content-Type: application/x-www-form-urlencoded

    Request body

    • grant_type=client_credentials

    • client_id=YOUR_CLIENT_ID

    • client_secret=YOUR_CLIENT_SECRET

      Replace YOUR_CLIENT_ID and YOUR_CLIENT_SECRET with the credentials for your integration client.
  4. Include the returned access token in all subsequent API requests for authorization.

Documentation Assistant

Delete Chat Conversation

Are you sure you want to permanently delete the chat history?

Hi, I am Beeline Professional Docs Assistant. Here's how I can help you:
  • Type your question in the input below
  • I'll understand your query and provide a helpful response
  • You can ask follow-up questions