cURL
curl --request GET \ --url https://api.perscom.io/{version}/announcements/{announcement} \ --header 'Authorization: Bearer <token>'
{ "data": { "title": "<string>", "content": "<string>", "color": "<string>", "id": 123, "global": false, "enabled": true, "expires_at": "2023-11-07T05:31:56Z", "label": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
OK
Show child attributes
The announcement title.
255
The announcement content. Supports HTML.
65535
The announcement color. Provided as a 6 digit hex code.
Whether the announcement is displayed globally to all users.
Whether the announcement is enabled and visible to users.
The date and time when the announcement expires. Stored in UTC.
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?