Send a new message

Send a new message by providing the necessary details in the request body.

POST

Parameters

Body

application/json
Org_id
Template_id
Action_type
REQUIRED
To
REQUIRED
Values
Is_push
Sync
Scheduled_at
The time at which the message should be sent.
Language
Title
Content
Content_type
When_created
Status codeDescription
200Successfully created resource with its unique identifier
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L -X POST \
"https://blockv-labs.io/messages/send" \
-H 'Accept: application/json'
Response
{
"id": "string"
}
json
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the created resource"
}
}
}