Create a Batch Message
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/batch_message
- Staginghttps://api.staging.htech.app/v1/batch_message
- Productionhttps://api.herohealth.net/v1/batch_message
curl -i -X POST \
https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/batch_message \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"channel": "SMS",
"subject": "string",
"content": "string",
"recipients": [
{
"nhs_number": "string",
"dob": "2019-08-24T14:15:22Z"
}
]
}'Response
{ "id": "string", "name": "string", "status": "CREATED", "channel": "SMS", "subject": "string", "content": "string" }