Send email
Emails the details of a challenge to a recipient — most often a parental consent request to a guardian. The challenge itself must already exist; this only delivers it. Call it again to re-send.
Authorization
api-key In: header
Header Parameters
Optional header for Account System Products to perform cross-product age gate checks. The value must be the product ID of the target product within the same organization. The target product must not itself be an Account System Product.
Request Body
application/json
Send email request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/challenge/send-email" \ -H "Content-Type: application/json" \ -d '{ "challengeId": "ae6d4729-af32-42ea-8ef2-ff46c7664802" }'{}{ "error": "NOT_FOUND", "errorMessage": "Challenge not found"}Send email with payment verification POST
Emails a parental consent request to a guardian together with your attestation that an adult already completed a payment for the purchase behind it. Identical to `/challenge/send-email` except that `paymentVerification` is required. Use that endpoint instead when there is no payment to attest. The attestation is read only when the Transactions capability is enabled for your organization, and is otherwise ignored.
Get the status of an age verification request GET
Returns the current state of an age verification request. Poll it after starting a verification, or use it to confirm a webhook server-side. A request moves from `PENDING` to `IN_PROGRESS` and settles on `PASS` or `FAIL`. A settled request also carries what was established — the age estimate, age category and method used — and, on failure, the reason. Treat anything other than `PASS` or `FAIL` as still in flight.