AIController

Find a message across explicit inboxes or phones, then assert and extract from that same message

Find a message across explicit inboxes or phones, then assert and extract from that same message. Checks never select a replacement message after failure. Idempotency-Key enables 15-minute retry deduplication; reuse it only for an identical logical request.

post/ai/messages/wait

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/ai/messages/wait
  • Auth: API key in header x-api-key

Headers

Idempotency-Keystring

Request body

sincestring date-time required
timeoutinteger required
beforestring date-time nullable
unreadOnlyboolean required
sortDirection'ASC' | 'DESC' required
transformIdstring uuid nullable
instructionsstring nullable
extractionPreset'OTP_CODE' nullable

Built-in extraction schema. OTP_CODE returns data.code as a verbatim string, preserving leading zeros and letter case. Missing or equally eligible codes are INCONCLUSIVE.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.