Skip to main content

API Authentication

All MeetLoyd API requests require authentication. This guide covers how to create, manage, and use API keys.

Key Types

TypePrefixPurpose
Livesk_live_Production use
Testsk_test_Development and testing (sandbox, no charges, relaxed rate limits)

Permissions

API keys can be scoped to specific permissions:

PermissionDescription
agents:readList and get agents
agents:writeCreate, update, delete agents
conversations:readList and get conversations
conversations:writeCreate conversations, send messages
tasks:readList and get tasks
tasks:writeCreate, update, run tasks
workflows:readList and get workflows
workflows:writeCreate, update, run workflows
memory:readRead memory values
memory:writeSet and delete memory
adminFull administrative access

Rate Limits

PlanRequests/minBurst
Starter120200
Growth500800
Enterprise50008000

Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are included in every response.

OAuth 2.0 (Enterprise)

Enterprise customers can use OAuth 2.0 Client Credentials flow for machine-to-machine authentication. Access tokens expire after 1 hour and must be refreshed.


Next: Learn about Webhooks for receiving real-time events.