Technical Support

Ask a Question
Back to All

Not found when trying to get auth token

When I am using the curl request form the docs (with my own credentials)

curl --location --request POST --url 'https://auth.accounts.poap.xyz' --header "Content-Type: application/json" -d '{"audience": "https://api.poap.tech", "grant_type": "client_credentials", "client_id": "$clientid", "client_secret": "$clientsecret"}'

I get "Not found" as a response. I am also not sure what to use for "audience". Also, on a side note, are my client id and secrete supposed to be the same string?

Any help would be greatly appreciated.