An API key is a randomly generated string that is used to authenticate your requests and allow your team to fetch data from the Dyspatch API.
API keys can only be created by an Organization Administrator or an Organization Developer. The API Keys list is available by selecting Developer Tools from your username drop-down menu while in the Administration portal.
Click Generate API Key to create your API key. Name your API key something that will help you and other Administrators identify it.
Select the key permissions level:
Set Bearer followed by your API key as the Authorization header in your API requests. Below is an example curl request with an API key in the Authorization header.
curl --request GET \
--url https://api.dyspatch.io/templates \
--header 'Authorization: Bearer EXAMPLEAPIKEYXXXXXXXX12345678' \
--header 'Accept: application/vnd.dyspatch.2023.01+json'
Refer to the Dyspatch API Documentation for more information.