Set the read state of an email
Set the read state of an email with the Mailly email API for AI agents: PATCH /inbox/messages/{id}/read-state. Parameters, request body, responses and code samples.
bearerAuthAuthorizationBearer <token>Mailly API key(Authorization: Bearer )
id*stringEmail ID
application/json- body
is_read*booleantrue marks as read, false marks as unread
[key: string]?unknownUpdated
application/json- response
success*booleanid*stringis_read*booleanchanged*boolean[key: string]?unknowncurl -X PATCH 'https://api.mailly.site/inbox/messages/string/read-state' \ -H 'Content-Type: application/json' \ -d '{ "is_read": true, "property1": null, "property2": null}'{ "success": true, "id": "string", "is_read": true, "changed": true, "property1": null, "property2": null}Set the first webhook endpoint of an inbox address (legacy) PUT
Set the first webhook endpoint of an inbox address (legacy) with the Mailly email API for AI agents: PUT /inbox/webhook/addresses/{addressId}. Parameters, request body, responses and code samples.
Set the read state of inbound emails in a thread PATCH
Set the read state of inbound emails in a thread with the Mailly email API for AI agents: PATCH /inbox/threads/{threadId}/read-state. Parameters, request body, responses and code samples.