Skip to content

API Reference

The Comma Compliance API provides programmatic access to archived messages, compliance policies, and integration management. Use it to build custom workflows, export data to external systems, or integrate Comma into your existing compliance infrastructure.

https://api.commacompliance.com/v1

All API requests require a Bearer token in the Authorization header:

Authorization: Bearer <your-api-token>

Generate API tokens from Settings > API Keys in your Comma dashboard. Tokens inherit the permissions of the user who created them.

  • Standard plans - 100 requests per minute
  • Enterprise plans - 1,000 requests per minute

Rate limit headers are included in every response:

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 97
X-RateLimit-Reset: 1714003200
MethodEndpointDescription
GET/messagesList archived messages with filtering
GET/messages/:idGet a specific message
GET/messages/exportExport messages as CSV or JSON
MethodEndpointDescription
GET/policiesList compliance policies
POST/policiesCreate a new policy
PUT/policies/:idUpdate a policy
DELETE/policies/:idDelete a policy
MethodEndpointDescription
GET/integrationsList connected integrations
GET/integrations/:id/statusCheck integration health
MethodEndpointDescription
GET/usersList organization users
GET/users/:id/integrationsList a user’s personal integrations

All responses return JSON with a consistent envelope:

{
"data": { },
"meta": {
"page": 1,
"per_page": 50,
"total": 234
}
}

Error responses include a machine-readable code and human-readable message:

{
"error": {
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded. Try again in 60 seconds."
}
}

Official SDKs are coming soon. In the meantime, the REST API works with any HTTP client.

Contact support@commacompliance.com for API access questions or to request higher rate limits.