IAB TCF 2.2 now available Learn more →

API Reference

Developer-friendly API

RESTful API with comprehensive documentation. Integrate Cookied into your applications and workflows.

Get API Access

API Features

RESTful API

Standard REST API with JSON responses. Easy to integrate with any language or framework.

API Keys

Secure API key authentication. Generate and manage keys from your dashboard.

Webhooks

Real-time notifications for consent events. Configure webhooks for your integrations.

Comprehensive Docs

Complete API documentation with examples, code snippets, and interactive testing.

Rate Limiting

Generous rate limits with clear documentation. Contact us for higher limits.

SDK Support

Official SDKs for popular languages. Community SDKs available for more languages.

API Endpoints

Complete control over your websites and consent data

GET/v1/websites

List all websites

POST/v1/websites

Create a new website

GET/v1/websites/{id}

Get website details

PUT/v1/websites/{id}

Update website settings

DELETE/v1/websites/{id}

Delete a website

GET/v1/websites/{id}/consents

Get consent records

GET/v1/websites/{id}/analytics

Get analytics data

POST/v1/webhooks

Create a webhook

Example Request

// Get all websites
curl -X GET https://api.cookied.io/v1/websites \
  -H "Authorization: Bearer YOUR_API_KEY"

// Create a new website
curl -X POST https://api.cookied.io/v1/websites \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example.com",
    "name": "My Website"
  }'

// Get consent records
curl -X GET https://api.cookied.io/v1/websites/{id}/consents \
  -H "Authorization: Bearer YOUR_API_KEY"

Ready to integrate?

Get API access and start building with Cookied.

Get Started