API: Helpdesk Inbound Email
mobieusHelp can accept inbound email and turn each message into a ticket. This is a webhook endpoint your email provider (or a relay) posts to. It is secured by a shared secret, not by an API key, so it is separate from the bearer-token /api/v1 surface.
Setup
- In Admin → Help → Email Accounts, open your default email account and copy its inbound secret.
- Configure your provider to POST each inbound message to:
https://{tenant}.mobieus.io/api/helpdesk/inbound-email - Send the secret with every request in the
X-Mobieus-Inbound-Secretheader (or as a?secret=query parameter). A request with a missing or wrong secret is rejected with401.
Payload
POST a JSON body. Recognized fields:
from— sender address (aName <[email protected]>form is parsed;envelope.fromis used as a fallback)from_name— sender display name (optional)subject— message subjecttext— plain-text bodyhtml— HTML bodymessage_id— the message'sMessage-ID(required)in_reply_to,references— threading headers, used to attach replies to an existing ticketheaders— an object of raw headers (used to detect auto-replies)
from and message_id are required. If either is missing the endpoint returns 422.
Ticket creation
A new message creates a ticket in the default queue, or appends to the matching ticket when the threading headers point to one. The sender receives a confirmation email with their ticket reference.
Discussion
Sign in to start the discussion.