query
latestAuthCodeReturns 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
| Name | Type | Description |
|---|---|---|
| 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.
