Rivier/ Reference/ voice

Recent texts and WhatsApp messages, both ways, with where each one stands

get/phone/messages

Before you call

Credential
Authorization: Bearer $KEY
Scope
voice:read
Graphql
Query.voicePhoneMessageList
Sdk
voice.phoneMessage.list
Cli
voice phone message list

Parameters

  • peerstring
    In the query
  • channelstring
    In the query
  • limitinteger
    In the query

Responses

  • 200application/json
    Success
    • messageslist of objectrequired
      • idstringrequired
      • channelstringrequired
        One of: sms, mms, whatsapp.
      • directionstringrequired
        One of: out, in.
      • peerstringrequired
      • ownstringrequired
      • bodystringrequired
      • medialist of stringrequired
      • statestringrequired
      • codestring or nullrequired
      • detailstring or nullrequired
      • segmentsnumberrequired
      • templateIdstring or nullrequired
      • atstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown