v1

latestOpenAPI 3.0.02026-07-24378968.5 KB
Chat

/chat/conversation/send-template

Send a new template message

post/chat/conversation/send-template

Headers

octa-agent-emailstring

Request body

Example request

{
  "target": {
    "contact": {
      "phoneContact": {
        "number": "+55119999999999"
      }
    }
  },
  "origin": {
    "from": {
      "number": "+55119999999999"
    }
  }
}

Response

errorobject required

The error that occurred during the execution of the method. The message was NOT sent.

errorCodestring

The error code returned by the provider (e.g. Meta/WhatsApp) when available

errorMessagestring

The detailed error message returned by the provider (e.g. Meta/WhatsApp) when available