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:

POST Requests Only: x-idempotency-key

The x-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.