Chat

/chat/conversation/send-template

Send a new template message

post/chat/conversation/send-template

Request

  • Base URL
    <<api-url>> (relative, and the document’s source URL is not known)
  • Auth
    API key in header X-API-KEY

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

Changes

No recorded changes to this operation across all 2 revisions of this API.