Skip to main content

About the BlueDolphin API

Jetmir Abdija avatar
Written by Jetmir Abdija
Updated over a month ago

Prerequisites

To use our public API, make sure your tenant has the PUBLIC_API add-on activated.

If the add-on is not activated, any calls to the BlueDolphin public API will result in a 403 Forbidden error.

API Credentials

Generate an API key

To create an API key in BlueDolphin, you must have an Admin user role. There are two main types of keys:

Key management API key

  1. To manage API keys in BlueDolphin, create a unique API key secret through the UI. To do this, navigate to Admin > Public API keys and choose the User key management scope.

User API key

  1. This key is used for all BlueDolphin API endpoints except for the /user-api-keys endpoint, which requires the API key described in 1 (see above). To generate this key, send a POST request to the endpoint /user-api-keys.

Authentication

BlueDolphin public API is based on REST principles and follows standard HTTP rules. To use it, please specify the values for the following parameters in your HTTP request header:

Parameter

Required

Type

Description

x-api-key

βœ“

string

This will either be:

  1. Admin key for key management API or

  2. Personalized user key for all roles

If you are not an Admin, ask your Admin for a user key.

tenant

βœ“

string

The name of the tenant in the database

Content-Type

βœ“

application/json

Indicates that the request body format is JSON

Please note that all examples and tutorials in the API documentation are provided in cURL and use the EU resource URL. You might have to adjust these based on the language and framework you are using and the location of your tenant (https://public-api.us.bluedolphin.app for US tenants).

Did this answer your question?