Authentication
Authentication is based on a couple of parameters: the id of your account, as well as your API key.
These settings can be used in two differents authentication methods:
- HTTP Authentication
- Custom Headers Authentication
HTTP request
GET
https://api.sarbacane.com/v1/info
Header parameters
Parameter | Description | Required |
---|---|---|
accountId | Account Id | Yes |
apiKey | api key | Yes |
HTTP Authentication
Copied !
curl -X GET "https://api.sarbacane.com/v1/info"
-u "YOUR_ACCOUNTID:YOUR_API_KEY"
HTTP Headers Authentication
Copied !
curl -X GET "https://api.sarbacane.com/v1/info"
-H "accountId: YOUR_ACCOUNTID"
-H "apiKey: YOUR_API_KEY"
HTTP success response code
Copied !
HTTP/2 200
VOTRE