Messages

List messages

Returns message summaries, newest first (oldest first when filtered by conversation), with optional filters for channel, direction, status, conversation, contact, sender address, and creation time. Pass nextCursor back as cursor for the next page; it is null on the last page.

get/v1/messages

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/messages
  • Auth: API key in header x-api-key

Query parameters

limitstring nullable
cursorstring
channel'email' nullable
direction'outbound' | 'inbound' nullable
status'pending' | 'scheduled' | 'queued' | 'processing' | 'sent' | 'delivered' | 'read' | 'failed' | 'bounced' | 'complained' nullable
conversationIdstring
contactIdstring
fromstring nullable
namespaceIdstring
afterstring nullable
beforestring nullable

Response

MessagePage

nextCursorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.