List Available Resources

GET/api/zapier/resources

Returns a list of all available resources that can be used for polling and testing. This endpoint is used by automation platforms to discover available triggers.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area
Authorization String optional Bearer token (alternative to authtoken header)
curl -X GET "https://yoursite.com/api/zapier/resources" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "data": [
    {
      "key": "customers",
      "label": "Customers",
      "description": "New or updated customers"
    },
    {
      "key": "invoices",
      "label": "Invoices",
      "description": "New or updated invoices"
    },
    {
      "key": "leads",
      "label": "Leads",
      "description": "New or updated leads"
    },
    {
      "key": "tasks",
      "label": "Tasks",
      "description": "New or updated tasks"
    },
    {
      "key": "tickets",
      "label": "Tickets",
      "description": "New or updated support tickets"
    }
  ]
}
MethodGET
Path/api/zapier/resources
GroupAutomation
Sincev0.0.0
Defined inmodules/api/controllers/Zapier.php