Batches

Update a Batch message

This operation updates all specified parameters of a batch that matches the provided batch ID.

post/xms/v1/{service_plan_id}/batches/{batch_id}

Request

  • Base URL
    https://us.sms.api.sinch.com
  • URL
    https://us.sms.api.sinch.com/xms/v1/{service_plan_id}/batches/{batch_id}
  • Auth
    HTTP bearer

Request body

OR
OR

Example request

{
  "from": "+15551231234",
  "to_add": [
    "+15551231234"
  ],
  "to_remove": [
    "+15551231234"
  ]
}

Response

A successful response , or an Error.

OR
OR

Example response

{
  "id": "01FC66621XXXXX119Z8PMV1QPQ",
  "to": [
    "+15551231234",
    "+15551256344"
  ],
  "from": "+15551231234",
  "body": "Hi ${name}! How are you?",
  "client_reference": "myReference"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.