Resend Pass Email
Re-sends the wallet download links for an existing pass. The recipient defaults to the email on the pass's client record, but can be overridden, and a custom email template can be supplied.
Auth: Bearer token — the caller must be authenticated and a member of the pass's workspace. (Despite living alongside the public submission endpoints, this route enforces workspace-membership authorization.)
Resend Pass
POST /wallethero-api/pass/resend
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
pass_id | string (UUID) | Yes | Pass to resend. |
email | string (email) | No | Override recipient. Defaults to the pass's client email. Must be a valid email if provided. |
email_template | string | No | Custom email template (template id / HTML). Falls back to the default pass email template. |
Example Request
bash
# Resend to the pass's own email
curl -X POST "https://api.wallethero.app/wallethero-api/pass/resend" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "pass_id": "9c1e2d3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f" }'
# Resend to a different address
curl -X POST "https://api.wallethero.app/wallethero-api/pass/resend" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"pass_id": "9c1e2d3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"email": "[email protected]"
}'Response (200)
json
{
"success": true,
"message": "Pass email resent successfully to [email protected]",
"data": {
"pass_id": "9c1e2d3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"apple_pass_url": "https://passes.wallethero.app/apple/pass/9c1e2d3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"google_pass_url": "https://passes.wallethero.app/google/pass/9c1e2d3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | Always true on success. |
message | string | Confirmation including the address the email was sent to. |
data.pass_id | string (UUID) | Pass identifier. |
data.apple_pass_url | string (URL) | Apple Wallet download URL. |
data.google_pass_url | string (URL) | Google Wallet save URL. |
Errors
| Status | Code | Description |
|---|---|---|
400 | INVALID_PAYLOAD | Body fails validation, pass not found/inaccessible, missing first_name on the client, or no usable email (neither override nor client email). |
403 | FORBIDDEN | Caller is not authenticated, or is not a member of the pass's workspace. |
SDK
No SDK method — call the REST endpoint directly.