Mensajes de una conversación
GET
https://api.bydomu.com/v1/conversations/{contactId}/messagesThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Mensajes con el contacto, del más reciente al más antiguo (pageSize por defecto 50, máximo 100).
Permission required
conversations:read
Required header
X-API-Key · secret key
Access level
Level 2 · automatic on Inmobiliaria Pro
Path parameters
1 · requiredcontactIdstring · requiredID del contacto
Query parameters
2 · all optionalpageinteger · optionalPágina, desde 1default 1 · ≥ 1
pageSizeinteger · optionalMensajes por página (máximo 100)default 50 · 1–100
Response 200
ConversationMessage[] · 7 fieldsdata[]id · body · direction · type · timestamp · mediaUrl · channel
idstringbodystringdirectionstringINBOUND, OUTBOUNDtypestringTEXT, IMAGE, DOCUMENT, AUDIO, VIDEO, LOCATIONtimestampstringmediaUrlstringchannelstringWHATSAPP, INSTAGRAM, FACEBOOK, SMS, EMAIL, WEBmetaPaginación por número de página.
totalintegerTotal de registrospageintegerPágina actualpageSizeintegerRegistros por páginatotalPagesintegerTotal de páginasPossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 403FORBIDDEN
- 404NOT_FOUND
- 429RATE_LIMITED
- 500INTERNAL_ERROR