API Keys
API keys are intended for service-to-service traffic. Use the returnedapi_key value as x-api-key for protected endpoints.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Curl examples for creating, listing, and revoking Decision Engine API keys.
api_key value as x-api-key for protected endpoints.
curl --location "$BASE_URL/api-key/create" \
--header "$AUTH_HEADER" \
--header "Content-Type: application/json" \
--data '{
"merchant_id": "merchant_demo",
"description": "backend integration key"
}'
{
"key_id": "018f...",
"api_key": "DE_...",
"key_prefix": "DE_abcd",
"merchant_id": "merchant_demo",
"description": "backend integration key",
"created_at": "2026-04-25 10:00:00"
}
curl "$BASE_URL/api-key/list/merchant_demo" \
--header "$AUTH_HEADER"
curl --request DELETE "$BASE_URL/api-key/018f-key-id" \
--header "$AUTH_HEADER"
Was this page helpful?