Request Authorization
Authorization header
To authorize each API request, pass your API KEY in the Authorization header as follows:
Authorization: Token <API KEY>
Example of a request with a token
An example of using the Authorization
header in an API request:
curl -X POST https://api.cryptocloud.plus/v2/invoice/create \
-header "Authorization: Token eyJ0eXAi1iJKV1QiLCJhbGci1iJIAcI1NiJ9.eyJpZCI6MTMsImV4cCI6MTYzMTc4NjQyNn0.HQavV3z8dFnk56bX3MSY5X9lR6qVa9YhAoeTEH"
Possible errors
Response code
Error key
Error description
400
Bad request
Invalid request
Example of a response with an error
{
"status": "error",
"result": {
"authorization": "Unauthorized request."
}
}
Last updated
Was this helpful?