cURL
curl --request GET \ --url https://api.pinata.cloud/data/testAuthentication \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Test your API keys and your ability to connect to the Pinata API
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
{ message: "Congratulations! You are communicating with the Pinata API!" }