cURL
curl --request POST \ --url https://api.thehaystack.ai/v2/bevly/collections/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Sunday Sermons" } '
{ "collection": { "id": 1, "name": "Sunday Sermons", "itemDescriptor": "sermon" } }
Enter your API token from the Haystack dashboard
"Sunday Sermons"
Collection created
Show child attributes
1
sermon
message
episode
"sermon"