Service Mail > Mailboxes > Email Snippets
Create an email snippet
Changed onCreate a new email snippet for the given mailbox and return the id of the created object.
post/1/mail_hostings/{service_mail}/mailboxes/{mailbox}/email-snippets
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/1/mail_hostings/{service_mail}/mailboxes/{mailbox}/email-snippets
- AuthHTTP bearer
Path parameters
service_mailstring required
mailboxstring required
Request body
Example request
{
"preview": "<h3>Compagny name</h3><p>John Doe<br/>john.doe@ik.me</p>"
}Response
Created
Example response
{
"result": "success"
}Changes
- info
endpoint added
- info