Technical Support
API: Minting to Wallet
Hi!
Im trying to mint the POAP directly to a wallet address. Im following the documentation here: https://documentation.poap.tech/reference/postactionsclaim-delivery-v2
I have a test event up with a "website" distribution approved by you recently.
I am calling with
'''const response = await fetch(
${this.apiBaseUrl}/actions/claim-delivery-v2
,
{
method: 'POST',
headers: {
accept: 'application/json',
'Content-Type': 'application/json',
Authorization: Bearer ${this.accessToken}
,
'X-API-KEY': ${config.poapApiKey}
,
},
body: JSON.stringify({
address,
id: eventId,
}),
}
);
'''
Im receiving
'''
{
statusCode: 400,
error: 'Bad Request',
message: 'Delivery not found'
}
'''
could I know what distribution method i should be using?
Ps: Thanks for getting me the api keys!