Documentation/Authentication

Authentication

Authentication

All API requests must include an API key in the Authorization header as a Bearer token.

API Key Format

MeeDoo API keys start with md- and are 32-character hex strings. Example: md-a1b2c3d4e5f6...

Getting an API Key

  1. Sign up at meedoo.co
  2. Go to the API Console
  3. Click "Create API Key"

Using Your API Key

Pass your API key in the Authorization header on every request. All SDKs handle this automatically.

GET /api/v1/auth/api-keys

List API Keys

List all API keys for the authenticated user.

POST /api/v1/auth/api-keys

Create API Key

Create a new API key with specified scopes.

DELETE /api/v1/auth/api-keys/{key_id}

Revoke API Key

Revoke an API key.

Code Examples

Auth
from meedoo_ai import MeeDooClient

client = MeeDooClient(api_key="md-YOUR_API_KEY")
Create API Key cURL
curl -X POST https://api.meedoo.co/api/v1/auth/api-keys \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Production Key"}'