List Contact Messages

GET /tenants/{tenant}/contacts/{contact}/messages

Returns the contact's SMS and WhatsApp messages, newest first (offset and limit; the order is fixed): every message in the conversations matched to the contact. Each carries its conversation's code and number; reply on the conversation. A user who can see only some clients gets a 404 unless the contact is on one of them.

Requires: ViewAll on Messaging.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

contact* path string
offset query integer (int32)

Number of records to skip (default: 0). Use with limit for pagination.

Number of records to skip (default: 0). Use with limit for pagination.

limit query integer (int32)

Maximum number of records to return (default: 10, max: 50)

Maximum number of records to return (default: 10, max: 50)

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found