Skip to content

API key

C1 Core supports API keys for authentication. You can pass an API key in three different ways:

Option 1: Pass it as a query parameter:

curl "https://core.sensaru.net/api/v1/user?private_token=<your_access_token>"

Option 2: Pass it in a PRIVATE-TOKEN header:

curl --header "PRIVATE-TOKEN: <your_access_token>" "https://core.sensaru.net/api/v1/user"

Option 3: Pass it with an OAuth-compliant header:

curl --header "Authorization: Bearer <your_access_token>" "https://core.sensaru.net/api/v1/user"