POST
/
ipfs
/
gateways
/
{id}
/
access_tokens
curl --request POST \
  --url https://api.pinata.cloud/v3/ipfs/gateways/{id}/access_tokens \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "e8fe078b-38e8-4472-94e7-9023205232d2",
    "value": "key",
    "createdAt": "2024-07-12T15:34:59.786198063Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the target Gateway

Response

200 - application/json
OK

The response is of type object.