You need a client_id and client_secret to interact with the Cobalt API. You will also need an access_token for each user which can be obtained in through the Cobalt Link flow.

Authentication Headers

ParameterTypeDescription
client_idstringYour Cobalt API client id
client_secretstringYour Cobalt API secret
access_tokenstringThe access token from the Link Flow

Example request:

curl -X GET https://api.usecobalt.com/v1/apointments\
-H 'Content-Type: application/json' \
-H 'client_id: "%COBALT_CLIENT_ID%"' \
-H 'client_secret: "%COBALT_CLIENT_SECRET%"' \
-H 'access_token: "%USER_ACCESS_TOKEN%"' \
-d '{
			...
}'