Making requests
Connecting to the Firstbase API and making your first request
When making API requests, ensure the following headers are included:
Authorization. Contains the API key using the format
ApiKey {{api-key}}, where{{api-key}}is your actual API key.Accept. Specifies the response content type. For SCIM endpoints, use
application/scim+json. For other API endpoints, useapplication/json.
Here is an example to retrieve all inventory details
curl -X 'GET' \
'https://apipub.firstbasehq.com/api/inventory' \
-H 'accept: application/json' \
-H 'Authorization: ApiKey 0000000000000000000000'Last updated