Authentication

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.

Headers

HeaderDescription
client_idYour Cobalt API client id
client_secretYour Cobalt API secret
access_tokenThe access token for the individual provider obtained during the Link flow

Example Request

curl -X GET https://api.usecobalt.com/v1/appointments \
-H 'Content-Type: application/json' \
-H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \
-H 'client_secret: cs_live_9827hofdsklOYYHJLJh' \
-H 'access_token: 493JKLHIU98789hLKH9HHJH'

Access Tokens

Access tokens are obtained through the Cobalt Link flow. Each access token is associated with a specific set of EHR credentials..