Create Collection

This endpoint allows for creating a collection. This API available only for user access-token integration

post
Create Collection

https://graph.whisk.com/v1/collections
Request
Response
Request
Path Parameters
name
required
string
Name of the collection
Response
200: OK
{
"id": "97f77cceca5d11e7ae7e42010a9a0035",
"name": "My collection"
}

Sample Request

curl "https://graph.whisk.com/v1/collections" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <Access-Token>" \
-d '{
"name": "My collection"
}'