AIController

Extract schema-validated data from an existing email or SMS with verified source evidence

Extract schema-validated data from an existing email or SMS with verified source evidence. Missing or ambiguous data is not invented. Idempotency-Key enables 15-minute retry deduplication; reuse it only for an identical logical request.

post/ai/messages/extract

Request

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

Headers

Idempotency-Keystring

Request body

transformIdstring uuid nullable
instructionsstring nullable
timeoutinteger required
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.