Listar las respuestas a un envío

Sirve para recolectar las respuestas a encuestas o eventos de un envío: quién respondió, en qué grupo, qué eligió y cuándo.

GET
/v1/scheduled-messages/{scheduledMessage}/responses

Permiso requerido: communities:read (Leer)

Con API key: la respuesta siempre viene paginada. Tamaño de página: perPage (por defecto 25, máximo 100; un valor mayor, menor que 1 o no entero responde 422).

Autorización

http
headerAuthorizationBearer <clave>

Tu API key de Funnelchat, enviada en cada llamada como Authorization: Bearer <id>|fc_live_....

Parámetros de la ruta

scheduledMessage*string

The scheduled message ID

Formatouuid

Parámetros de consulta

page?integer

Coordinator finding (LOW): an unbounded page combined with perPage lets ($page-1)*$perPage grow arbitrarily, which MessageResponseReader::paginate()'s out-of-range short-circuit already makes cheap (no SELECT runs), but the cap here still guards against a pathological/overflowing offset value reaching that arithmetic at all. 100,000 is generous headroom above the measured production worst case (39,002 rows for a single poll/event, i.e. ≤39,002 pages even at perPage=1).

Rango1 <= value <= 100000
perPage?integer
Rango1 <= value <= 1000
type?string
Valor en"poll""event"

Cuerpo de la respuesta

Array of MessageResponseResource

application/json
  1. response
data*array<>
meta*
curl -X GET "https://example.com/v1/scheduled-messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/responses"
{  "data": [    {      "message_template_id": "string",      "block_type": "string",      "group_name": "string",      "responder_name": "string",      "identity": "string",      "identity_type": "string",      "response": "string",      "response_label": "string",      "responded_at": "string"    }  ],  "meta": {    "total": "string",    "per_page": 0,    "current_page": 0,    "last_page": 0  }}