MailParrot
querylatestAuthCode

Returns the most recently extracted one-time code (OTP) from emails sent to this alias.

Authentication

Required: x-api-key header or Authorization: Bearer <token>

Arguments

NameTypeDescription
projectId*ID!-
aliasId*ID!-

GraphQL

POST to /graphql

query LatestAuthCode($projectId: ID!, $aliasId: ID!) {
  latestAuthCode(projectId: $projectId, aliasId: $aliasId) {
    messageId
    authCode
    confidence
    extractedData { key humanReadableName value }
    receivedAt
  }
}

Don't have an API key? Sign up to the dashboard to get one for free.

Try it