Migrate messages
Changed onMigrate messages
Using our migration API, you can migrate the messages from another system into a Sendbird system's channel which consists of users, messages, and other chat-related data.
To turn on this feature, contact our support team.
There are three things to do in advance before the migration. Follow the instructions below:
-
Register the users of your current chat solution to your Sendbird application. You can migrate the users into the Sendbird system using the user creation API.
-
Create either an open or a group channel to migrate the messages of your chat solution. The Sendbird system doesn't create a channel for your migration automatically.
-
The maximum number of migrated messages per call is 100. To avoid the failure during your migration, you must adjust the number of messages to process at once via the API.
https://sendbird.com/docs/chat/platform-api/v3/message/migration/migrate-messages#1-migrate-messages
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Headers
Request body
Example request
{
"rewind_read_ts": true,
"messages": [
null,
null
],
"update_read_ts": true
}Response
Successful response
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
- warning
deleted the
headerrequest parameterApi-Token - info
api operation id
migrateMessagesByUrlremoved and replaced withmigrateMessages - info
added the new optional
headerrequest parameterapi-token - info
added the media type
application/jsonfor the response with the status
- warning