Skip to main content
POST
/
skills
Create a skill
curl --request POST \
  --url https://api.gospott.com/skills \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "colorHex": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Body

application/json
name
string
required
Required string length: 1 - 255
colorHex
string
required
Pattern: ^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$

Response

201 - application/json

Skill created successfully

id
string
required