POST
/
files
/
groups
curl --request POST \
  --url https://api.pinata.cloud/v3/files/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Test Group 3"
}'
{
  "data": {
    "id": "01919976-955f-7d06-bd59-72e80743fb95",
    "name": "Test Private Group",
    "public": false,
    "created_at": "2024-08-28T14:49:31.246596Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

The name of the group you want to create

is_public
boolean

Flag if group is public or not

Response

200 - application/json
OK
data
object