POST
/
{version}
/
announcements

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

version
enum<string>
default: v2required

The API version to use.

Available options:
v1,
v2

Body

application/json
title
string
required
content
string
required

Supports HTML.

color
string
required

Provided as a 6 digit hex code.

global
boolean
default: false
enabled
boolean
default: true
expires_at
string | null

Response

201 - application/json
data
object