Skip to main content
GET
/
scheduled-callbacks
/
agency
/
{company_name}
Retrieve scheduled callbacks for the specified agency
curl --request GET \
  --url https://app.closerx.ai/api/scheduled-callbacks/agency/{company_name}/ \
  --header 'Company-Name: <company-name>' \
  --header 'api_key: <api-key>'
[
  {
    "success": true,
    "agency_id": "<string>",
    "scheduled_tasks": [
      {
        "id": 123,
        "name": "<string>",
        "task": "<string>",
        "clocked": {
          "clocked_time": "2023-11-07T05:31:56Z"
        },
        "enabled": true,
        "args": "<string>"
      }
    ],
    "quick_campaign_results": [
      {
        "id": 123,
        "error": "<string>"
      }
    ]
  }
]

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

The schema name for multi-tenancy (company-wise DB separation)

Response

Successfully retrieved scheduled callbacks

success
boolean
required

Indicates whether the request was successful

agency_id
string
required

The unique ID of the agency (e.g., voizerfreeaccount)

scheduled_tasks
object[]
required

List of scheduled tasks associated with the agency

quick_campaign_results
object[]
required

List of results for the quick campaign, including errors or success information