cURL
curl --request POST \ --url https://a.api.mindset.ai/api/v1/appuid/{appUid}/labels \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "name": "<string>", "externalId": "<string>", "showInDiscovery": true }'
{ "uid": "<string>", "name": "<string>", "externalId": "<string>", "showInDiscovery": true, "createdAt": "2023-11-07T05:31:56Z" }
Your application's uid
1
Name of the label
Optional External ID of the label
Is this label visible to end users?
Label created successfully
Unique ID of the label
Creation timestamp (ISO 8601)