GET
/
integrations
/
templates
curl --request GET \
  --url https://api.callab.ai/v1/integrations/templates \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "message": "<string>",
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "created_by": "123e4567-e89b-12d3-a456-426614174001",
      "company_id": "123e4567-e89b-12d3-a456-426614174001",
      "workspace_id": "default",
      "name": "VTIGER BRING CONTACTS",
      "logo": "<string>",
      "retry_delay": 5,
      "retry_delay_unit": "seconds",
      "max_retries": 3,
      "status": "scheduled",
      "created_at": "2023-10-01T12:34:56Z",
      "updated_at": "2023-10-02T12:34:56Z",
      "deleted_at": "2023-10-03T12:34:56Z",
      "executions": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "status": "scheduled",
          "attempt_number": 123,
          "next_retry_at": "2023-11-07T05:31:56Z",
          "executed_at": "2023-11-07T05:31:56Z",
          "finished_at": "2023-11-07T05:31:56Z",
          "error_message": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z"
        }
      ],
      "steps": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "step_number": 123,
          "webhook_url": "<string>",
          "webhook_url_params": {},
          "webhook_method": "GET",
          "webhook_headers": {},
          "webhook_body": {},
          "webhook_timeout": 123,
          "depends_on_step": 123,
          "retry_limit": 3,
          "timeout": 123,
          "success_condition": {},
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "deleted_at": "2023-11-07T05:31:56Z"
        }
      ],
      "is_template": false,
      "flow_direction": "inbound",
      "flow_mapping": {},
      "predefinedVariables": [
        {
          "name": "<string>",
          "value": "<string>"
        }
      ],
      "variables": [
        {
          "name": "<string>",
          "location": "<string>",
          "stepId": 123,
          "type": "<string>",
          "dataType": "<string>",
          "customValue": "<string>"
        }
      ],
      "tag_name": "lead1",
      "category_name": "all leads"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Integration templates response.

The response is of type object.