Resend PIX key OTP

Sends the OTP again for a pending email/phone key challenge. Rate-limited: 60 s cooldown between sends and at most 3 sends per challenge (resend_too_soon). If the provider fails to deliver the response is 503 otp_send_failed and the challenge is no longer usable — start over with POST .../pix/keys.

Authentication

AuthorizationBearer

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

Path parameters

accountIdstringRequired
Account identifier.

Headers

X-Tenant-IdstringRequired
Tenant context used for authorization and routing.
Idempotency-KeystringOptional

Optional client-generated idempotency token (recommended for safe retries).

X-Request-TimestampstringRequired

Unix seconds. Required on the signed host; tolerance is 300s either way (403 request_timestamp_skew).

X-Content-SHA256stringRequired

Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns 400 body_hash_mismatch.

X-Request-SignaturestringRequired

Detached JWS (<protected>..<signature>, ES256 or PS256) over METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256.

Request

This endpoint expects an object.
challengeIdstringRequired

Response

New code sent.
statusenum
challengeIdstring
keyTypeenum
channelenum
destinationMaskedstring
expiresAtdatetime

Errors

404
Not Found Error
429
Too Many Requests Error
503
Service Unavailable Error