post
https://partner.gupshup.io/partner/app//template/msg
Use this API to send messages using the Request Contact Info template.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Note:
Templates that carry a REQUEST_CONTACT_INFO button can only be of the marketing or utility category.
Sample Request:
curl --location 'https://qa-partner-api.smsgupshup.dev/partner/app/{{APP_ID}}/template/msg' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'source={source}' \
--data-urlencode 'sandbox=false' \
--data-urlencode 'template={"id": "79f682a1-3367-4f1e-9e79-c972b60ca339","params": ["A-10293"]}' \
--data-urlencode 'src.name=safari' \
--data-urlencode 'userId=USERID'Sample Response:
{
"status": "submitted",
"messageId": "8893bef1-9abf-4539-89d6-6293fe4c7785"
}