Skip to main content

Endpoint

POST https://api.apifycloud.io/api/v1/analytics/{appId}/outbound-messages/search

Authentication

Bearer token required. Scope: messages:read

Path parameters

  • appId (UUID, required)

Request body

  • limit (number, optional)
  • cursor (string, optional)
  • status (string, optional) one of all, queued, sent, delivered, read, failed
  • search (string, optional) matches phone number, template, or campaign name
  • campaign (string, optional) campaign name search
  • template (string, optional) template name search
  • source (string, optional) one of all, campaign, direct
  • tags (array of strings, optional)
  • startDate (string, optional) ISO date (YYYY-MM-DD)
  • endDate (string, optional) ISO date (YYYY-MM-DD)

Response

Errors

  • 400 invalid_request invalid JSON body
  • 403 forbidden unauthorized for app or missing scope
  • 400 validation_error invalid request parameters
  • 429 rate_limit_exceeded
  • 500 server_error

Example