Entrar

Messages: Listar

GET https://{organization}.myguper.com/api/sender/messages

Vista paginada de message_process_queue (modo admin excluido) con un resumen de dispatcher por fila. Alimenta la pantalla de log de mensajes en el admin.

Para saber qué mensaje inició una conversación a partir de un teléfono, filtra por cellphone (exacto) y pide el cuerpo con include=rendered_body — una sola llamada devuelve los mensajes recientes a ese número ya con el texto renderizado, sin round-trip de detalle y sin tener que resolver el cliente antes.

Try-it values populated from environment ACME (Demo)


Autenticación

Token

Send your user token in the x-guper-authorization header.

Encabezados

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parámetros de query

Name Type Description
q[column][operator] string Filter using the `q[column][operator]=value` grammar. See [List query parameters](/docs/{lang}/guides/list-query-parameters) for the full operator table.
o[column] string Sort by column. Direction: `ASC`, `DESC`, `1` or `0`.
e integer Items per page. Max `1000`. `0` for unlimited.
por defecto: 20
p integer Page number (≥ 1).
por defecto: 1
mode string Filter by queue mode.
slug string Filter by message slug.
sequence integer Filter by sequence id.
template integer Filter by template id: messages that have at least one dispatcher sent with this template. Also accepted by `/messages/count`.
status string Filter by processing status.
startDate string `Y-m-d` (inclusive, 00:00:00).
endDate string `Y-m-d` (inclusive, 23:59:59).
person_id integer Filter by register person id (exact).
cellphone string Filter by recipient cellphone (exact match on the snapshot stored at send time). Skips resolving phone->person in register.
search string Substring match on person name/email/cellphone.
include string Comma list; adds rendered fields to each dispatcher in the list (opt-in, off by default). Allowed: `rendered_body`, `rendered_subject`, `rendered_text`, `rendered_meta`.
entries integer
por defecto: 20
page integer
por defecto: 1

Respuestas

Relacionados

Copied to clipboard