Skip to main content
Learn how to get your API keys and make authenticated requests to the Dakota Platform API.

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

  1. Log into your Dakota Platform dashboard
  2. Navigate to the API Keys section in the sidebar
  3. Click Create New API Key
  4. Give your key a descriptive name (e.g., “Production Server”, “Development Testing”)
  5. Copy and store the key securely — it will only be shown once
API keys are only displayed once when created. Store them securely in your environment variables or secrets management system. If you lose your key, you’ll need to create a new one.

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:
Start with Sandbox — We recommend building and testing your integration in the sandbox environment first. Sandbox uses simulated data and won’t process real transactions.

Required Headers

All API requests require the x-api-key header for authentication:

Mutating Requests: x-idempotency-key

The x-idempotency-key header is required for POST, PUT, and PATCH requests to ensure request idempotency:
  • Use a unique UUID for each logical operation
  • Include this header on POST, PUT, and PATCH requests; do not include it on GET or DELETE requests
  • The key is cached for 24 hours. A reused key inside that window returns the original response, so no duplicate operation is created
  • Only successful responses are cached, so a failed request stays retryable under the same key

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: Include x-idempotency-key on POST, PUT, and PATCH requests. GET and DELETE requests should not include this header. The key must be a valid UUID.