/
PUT v2/EviNotice/Batches/{batchid}/Body

PUT v2/EviNotice/Batches/{batchid}/Body

HTTP Method: PUT

Description:

This endpoint allows setting the subject and body content for an EviNotice bulk email/SMS. If a value was previously set, this call will overwrite the existing body content.

Input Parameters

  • Body (string)

    • The body content of the message. Variables can be included here, which will be replaced with the corresponding values for each recipient, as defined through the /Recipients API.

Output Parameters

  • No output parameters.

    • The endpoint will only return an HTTP status code indicating the result of the operation.

Request Example

PUT /v2/EviMail/Batches/{batchid}/Body Content-Type: text Authorization: Bearer YOUR_ACCESS_TOKEN Dear {{FirstName}},\n\nWe are excited to offer you an exclusive discount. Use code {{DiscountCode}} at checkout!

Response Example

The endpoint will return an HTTP status code:

  • 200 OK if the request was successful and the content was set.

  • 400 Bad Request if the input was invalid.

  • 404 Not Found if the specified batchid does not exist.

Notes

  • The batchid in the URL is the unique identifier of the batch created through the initial request (v2/EviNotice/Batches).

  • Variables such as {{FirstName}} and {{DiscountCode}} in the Body parameter will be replaced with recipient-specific values as defined in the /Recipients API.

Related content

PUT v2/EviMail/Batches/{batchid}/Body
PUT v2/EviMail/Batches/{batchid}/Body
More like this
POST v2/EviNotice/Batches
POST v2/EviNotice/Batches
More like this
EviNotice Batch Sending
EviNotice Batch Sending
More like this
EviMail Batch Sending
EviMail Batch Sending
More like this
PATH v2/EviNotice/Batches
PATH v2/EviNotice/Batches
More like this
POST v2/EviNotice/Batches/{batchid}/Recipients
POST v2/EviNotice/Batches/{batchid}/Recipients
More like this