curl --request POST \
--url https://api.platform.dakota.xyz/api-keys \
--header 'x-api-key: <api-key>' \
--header 'x-idempotency-key: <x-idempotency-key>'{
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"key": "dk_live_4KLkSmzQbL6Xs8xnUjssdGHX7PfhHpAb"
}Generate a new API key
curl --request POST \
--url https://api.platform.dakota.xyz/api-keys \
--header 'x-api-key: <api-key>' \
--header 'x-idempotency-key: <x-idempotency-key>'{
"id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"key": "dk_live_4KLkSmzQbL6Xs8xnUjssdGHX7PfhHpAb"
}Unique key to ensure request idempotency. If the same key is used within a certain time window, the original response will be returned instead of executing the request again.
API key created successfully
KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
The API key value (only shown once at creation)
"dk_live_4KLkSmzQbL6Xs8xnUjssdGHX7PfhHpAb"