Skip to main content

API Endpoint migration guide

This outlines the changes to our API endpoints and provides guidance for migrating your applications to use the updated endpoints. We're introducing these changes to improve consistency, reliability, and functionality across our services.

These endpoint changes include updates to both SMS and Messaging Apps services. Please review all changes carefully to ensure a smooth endpoint transition.

Key Changesโ€‹

  • SMS endpoints: Several endpoints have been consolidated for improved efficiency.
  • Response format standardization across Messaging Apps endpoints.
  • Parameter handling changes in certain endpoints.

What To Doโ€‹

  • Migrate to the New Endpoint URL and corresponding payload/response updates.
  • Contact support for any clarification.

SMS API Endpointsโ€‹

๐Ÿ“˜

The SMS endpoint payload and response remain consistent with the previous version and remain unchanged.

Migrate and update your API calls to use the new endpoint URL, as listed in the New Endpoint column.

Old EndpointNew Endpoint
POST
/sms/v1/{subAccountId}/single
Send SMS Single
POST
/sms/v1/{subAccountId}/many
Send Many SMS
POST
/sms/v1/{subAccountId}/many/compact
Send Many SMS
DELETE
/sms/v1/{subAccountId}/single/{umid}
Cancel Scheduled Message
DELETE
/sms/v1/{subAccountId}/many/{batchId}
Cancel Many SMS Messages

Messaging Apps API Endpointsโ€‹

๐Ÿ“˜

Migrate to the new endpoint (see New Endpoint column).

There are updates in the payload and response structures; refer to the New Endpoint column for documentation to update corresponding payload/response properties.


Old EndpointNew EndpointPayload/Response Changes
POST
/chatapps/v1/{subAccountId}/message/read
Mark Message ReadPayload Changes:
- Payload is removed.

- umid is passed directly in the path of new endpoint.
POST
/ipm/v1/{subAccountId}/message/single
Send MessageResponse Changes:
- Status property

Old Success Response:
"status": {
"code": "QUEUED",
"description": "Message is accepted and queued for processing"
}

New Success Response:
"status": {
"state": "queued",
"timestamp": "2021-01-04T08:19:45.99Z"
}
POST
/chatapps/v1/{subAccountId}/message/single
Send Messagesame, as for POST
/ipm/v1/{subAccountId}/message/single
POST
/ipm/v1/{subAccountId}/message/many
Send Message Manysame, as for POST
/ipm/v1/{subAccountId}/message/single
POST
/chatapps/v1/{subAccountId}/message/many
Send Message Manysame, as for POST
/ipm/v1/{subAccountId}/message/single