Messages
Move messages
Move multiple messages from a source folder to a target folder.
post/api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move
Request
- Base URL: https://api.mail.hostinger.com
- URL: https://api.mail.hostinger.com/api/v1/mailboxes/{mailboxResourceId}/folders/{folder}/messages/move
- Auth: HTTP bearer
Path parameters
mailboxResourceIdstring required
Resource ID of the managed mailbox the bearer token is authorized for.
folderstring required
Source folder path (URL-encoded).
Request body
Example request
{
"uids": [
42,
43,
44
],
"targetFolder": "INBOX.Sent"
}Response
Messages moved successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.