Learn how to authenticate with the ChangeCrab API using API keys and manage your credentials.
Learn how to authenticate with the ChangeCrab API using API keys. Secure your API access and manage your credentials effectively.
To use API authentication, you need:
ChangeCrab uses API key authentication. Include your API key in the request header:
X-API-Key: your-api-key-here
To get an API key:
Learn more about managing API keys.
curl -X GET https://changecrab.com/api/changelogs \
-H "X-API-Key: your-api-key-here"
fetch('https://changecrab.com/api/changelogs', {
method: 'GET',
headers: {
'X-API-Key': 'your-api-key-here'
}
})
import requests
headers = {
'X-API-Key': 'your-api-key-here'
}
response = requests.get(
'https://changecrab.com/api/changelogs',
headers=headers
)
If authentication fails, you'll receive:
{
"success": false,
"error": "Invalid API key"
}
HTTP Status: 401 Unauthorized