S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceWhatsapp

Send WhatsApp Template

POST
/whatsapp/templates/send

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Request Body

application/json

toParticipantIds*array<string>
Items1 <= items
templateId*string
Formatuuid
templateData?
conversationId?string
Formatuuid

Response Body

application/json

curl -X POST "https://samva.app/api/v1/whatsapp/templates/send" \  -H "Content-Type: application/json" \  -d '{    "toParticipantIds": [      "497f6eca-6276-4993-bfeb-53cbbbba6f08"    ],    "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d"  }'
{
  "id": "string",
  "status": "pending"
}
curl -X POST "https://samva.app/api/v1/whatsapp/templates/send" \
  -H "Content-Type: application/json" \
  -d '{
    "toParticipantIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
    "templateId": "196100ac-4eec-4fb6-a7f7-86c8b584771d"
  }'