WaitForController

Wait for AI-matched email or SMS

Wait-controller alias of the AI message wait. Shares the same contract, billing, deadline, source authorization and Idempotency-Key namespace.

post/waitForAIMessage

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/waitForAIMessage
  • 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.