Passer au contenu

Create an SMS batch

Requête

Creates a new, empty SMS batch. Only a Description is required at creation; the message text, recipients, and options are set with the subsequent batch endpoints. Returns the BatchId used by all other batch operations.

Sécurité
basicAuth
Corpsapplication/jsonobligatoire
Descriptionstring, <= 255 charactersobligatoire

Human-readable description of the batch.

curl -i -X POST \
  -u '<username>:<password>' \
  https://api.evicertia.com/v2/EviSms/Batches \
  -H 'Content-Type: application/json' \
  -d '{
    "Description": "March 2026 customer SMS"
  }'

Réponses

Batch created.

Corpsapplication/json
BatchIdstring, (uuid)

Unique identifier of the created batch. Use it in all other batch operations.

Réponse
{ "BatchId": "550e8400-e29b-41d4-a716-446655440000" }