curl --request PATCH \
--url https://inbound.new/api/e2/emails/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_read": true,
"is_archived": true
}
'{
"object": "<string>",
"id": "<string>",
"is_read": true,
"is_archived": true,
"updated_at": "<string>"
}Update metadata for a received email. Supports marking emails as read/unread and archived/unarchived.
curl --request PATCH \
--url https://inbound.new/api/e2/emails/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_read": true,
"is_archived": true
}
'{
"object": "<string>",
"id": "<string>",
"is_read": true,
"is_archived": true,
"updated_at": "<string>"
}Your Inbound API key. Include it in the Authorization header as: Bearer
Was this page helpful?