Getting Your API Keys
Step 1: Access the Dakota Dashboard
To get an API key, you first need access to the Dakota Platform dashboard:New to Dakota? If you don’t have a Dakota account yet, contact our sales team to get started. Once your account is set up, you’ll receive credentials to access the dashboard.
Step 2: Create an API Key
- Log into your Dakota Platform dashboard
- Navigate to the API Keys section in the sidebar
- Click Create New API Key
- Give your key a descriptive name (e.g., “Production Server”, “Development Testing”)
- Copy and store the key securely — it will only be shown once
API Key Format
API keys are base64-encoded strings with exactly 60 characters, for example:AHGlPZaxDSMz8Wf1l8VRH4ObdbHiKsWFWnmRyHtiwAc=
API Base URLs
Once you have your API key, use it with the corresponding API base URL:Required Headers
All API requests require thex-api-key header for authentication:
POST Requests Only: x-idempotency-key
Thex-idempotency-key header is required for POST requests only to ensure request idempotency:
- Use a unique UUID for each POST request
- Do not include this header for GET, PUT, PATCH, or DELETE requests
- Helps prevent duplicate operations if a request is retried
Content-Type Header
For requests with a body (POST, PUT, PATCH), include:Making Authenticated Requests
GET Request Example
GET requests only need the API key header:cURL
JavaScript
Python
Go
Rust
Java
POST Request Example
POST requests require both the API key and idempotency key headers:cURL
JavaScript
Python
Go
Rust
Java
Header Summary
Remember: Only include x-idempotency-key for POST requests. GET, PUT, PATCH, and DELETE requests should not include this header.

