Skip to main content
POST
/
templates
/
send
cURL
curl --request POST \
  --url https://business.pingmee.co.il/templates/send \
  --header 'Content-Type: application/json' \
  --header 'Cookie: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "from": "<string>",
  "to": "<string>",
  "type": "template",
  "templateId": "<string>",
  "templateData": {
    "body": {
      "parameters": [
        "<string>"
      ]
    },
    "header": {
      "type": "IMAGE",
      "url": "<string>"
    }
  }
}
'
{}

Authorizations

x-api-key
string
header
required

Body

application/json
from
string
required

Sender phone number ID

to
string
required

Recipient phone number

type
enum<string>
default:template
required
Available options:
template
templateId
string
required

Template identifier

templateData
object

Response

Template message sent successfully

The response is of type object.