Technical Support

Ask a Question
Back to All

403 when accessing protected endpoint with access token

I successfully obtained an access token from Auth0 and am now trying to access the following protected endpoint, but am getting a 403: https://documentation.poap.tech/reference/geteventpoaps-2

Here is the command I'm running:

 curl https://api.poap.tech/event/73821/poaps \
    -H "X-API-Key: $apiKey" \
    -H "Authorization: Bearer $accessToken" 
    -H "Accept: application/json" \
    -H "Host: api.poap.tech"

And the response:

{"Message":"User is not authorized to access this resource with an explicit deny"}

Is there additional configuration/setup needed before I can use this endpoint? Thanks!