Resend an email claim
Resend an email claim using the Phosphor API.
caution
You can't resend an email claim when the claim has already been redeemed or the claim isn't active.
Issue a POST
request to the resend
endpoint to resend an email claim.
POST https://admin-api.phosphor.xyz/v1/email-claims/{claim_id}/resend
It returns a response code 200
if the claim is successfully resent.
The endpoint takes an optional payload that allows you to specify a different email address than what was originally set.
Example payload
{
"email": "aaa@bbb.com"
}
If not specified, the claim is resent to the original email on file.
Example response
{
"active": true,
"claimed": true,
"claimed_at": null,
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"created_at": "2019-08-24T14:15:22Z",
"email": "string",
"expiration": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"item_id": "4d8cd62e-a579-4dae-af8c-3172f96f8f7c",
"last_pin_code_email_sent_at": null,
"quantity": 0,
"token_id": "string",
"tx_hash": null,
"tx_payer": "BUYER",
"voucher_id": "1b5a607b-e5eb-4b17-80b0-5739c041e81b"
}