Create Collection
Request
curl --location --request POST 'https://<SERVICE ENDPOINT>/data/collection' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'
--data-raw '{ "Item":{
"CollectionName":"Customer_Emails"
}
}'Response
{
"CollectionId": "The ID of the collection",
"Name": "Name of the collection",
"Fields": [{
"Group": "Group of the Field",
"Name": "Name of the Field",
"Value": "Value of the Field",
"Mandatory": boolean,
"DisplayInView": boolean,
"Indexed": boolean,
"Type": number,
"OrderField": "The position of the field",
}],
}Response Codes
Last updated
Was this helpful?