Help center
Create a changelog label
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the changelog:write ability
Path parameters
help_centerstringrequiredId of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.
Body
application/jsoncolorstringHex color such as #22c55e.
Maximum length: 7
namestringThe name of the changelog label, 1 to 40 characters, unique in the changelog, such as Improvement.
Maximum length: 40
positionintegerWhere the label sits in the list, counting from 0, lowest first, such as 2.
Format: int32
Response 201
CreateddataobjectrequiredShow child attributesHide child attributes
colorstringrequiredThe label's color as a six-digit hex code, such as #3b82f6.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe label's name, 1 to 40 characters, such as Improvement.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
positionintegerrequiredThe label's place in the changelog's label order; lower comes first.
Format: int32
slugstringrequiredThe label's URL name: lowercase letters, digits and hyphens, such as bug-fixes. Unique within the help center.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.