Get latest OTP

View as Markdown

Returns the OTP and/or verification link from the most recent message that contains one. Requires Growth plan or higher.

On lower plans, message list endpoints return otp: "__DETECTED__" as a hint that an OTP exists — use this endpoint (Growth+) to read the actual value.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

inboxstringRequired

Response

OK
dataobject
successboolean

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error