Skip to main content
POST
/
api
/
v1
/
appuid
/
{appUid}
/
labels
Create a new label
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"
}

Authorizations

x-api-key
string
header
required

Path Parameters

appUid
string
required

Your application's uid

Minimum length: 1

Body

application/json
name
string
required

Name of the label

Minimum length: 1
externalId
string

Optional External ID of the label

showInDiscovery
boolean

Is this label visible to end users?

Response

Label created successfully

uid
string

Unique ID of the label

name
string
externalId
string
showInDiscovery
boolean

Is this label visible to end users?

createdAt
string<date-time>

Creation timestamp (ISO 8601)

I