Centerfy AI API Reference

Programmatically manage AI agents with the Centerfy REST API. Create, update, retrieve, and delete agents from your own applications and workflows.

The Centerfy AI API lets you manage AI agents programmatically — create agents, update configurations, retrieve details, archive agents, make outbound AI calls, fetch recordings, and send messages across channels. All endpoints are RESTful and accept JSON.

Base URL

https://crmwebhook.com/functions/v1/crm-api

Authentication

Every request must include your API key. You can pass it as either:

  • Bearer token in the Authorization header
  • API key in the x-api-key header
# Option 1: Bearer token
curl -H "Authorization: Bearer cfy_your_api_key_here" \
  https://crmwebhook.com/functions/v1/crm-api/get-agent/{agentId}

# Option 2: x-api-key header
curl -H "x-api-key: cfy_your_api_key_here" \
  https://crmwebhook.com/functions/v1/crm-api/get-agent/{agentId}

Available Endpoints

Rate Limits

The API is rate-limited to 60 requests per minute per API key. If you exceed this, you’ll receive a 429 Too Many Requests response. Back off and retry after a few seconds.

Error Responses

All errors return a JSON object with a message field:

{
  "error": true,
  "message": "Invalid API key"
}
Status CodeMeaning
200 / 201Success
400Bad request — check your request body
401Unauthorized — invalid or missing API key
403Forbidden — organization/sub-account mismatch with API key scope
404Resource not found
429Rate limit exceeded
500Server error — retry or contact support
502Upstream service unavailable
© 2026 Centerfy AI. All rights reserved.