Generate an API Key
Create an API key for your Buyer or Seller agent in the Skyfire Dashboard
- API keys are created at the agent account level
- Each Buyer or Seller agent has its own unique API keys
Pass API Key in Header
Include your agent's API key in every request using the custom HTTP header:
skyfire-api-key: <YOUR_SKYFIRE_API_KEY>Example: A Buyer agent authenticates with its Skyfire API key when creating a token for a Seller service:
curl -X POST https://api.skyfire.xyz/api/v1/tokens \
-H "content-Type: application/json" \
-H "skyfire-api-key: <BUYER_AGENT_API_KEY>" \
-d '{
"type": "kya",
"sellerServiceId": "223bc3eb-9bcb-4e9b-afd6-f26ee0bd3894"
}'POST https://api.skyfire.xyz/api/v1/tokens
skyfire-api-key: <YOUR_SKYFIRE_API_KEY>
content-type: application/json
{
"type": "kya",
"sellerServiceId": "223bc3eb-9bcb-4e9b-afd6-f26ee0bd3894"
}
