curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/getannouncement \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123
}'
{
  "announcement": {
    "draftId": 342
  },
  "trackingToken": "<string>",
  "error": {
    "errorType": "INVALID_ID"
  }
}

Authorizations

Authorization
string
header
required

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

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Body

application/json
GetAnnouncement request
id
integer
required

The id of the announcement to be retrieved.

Response

200
application/json
OK
announcement
object
Example:
{ "draftId": 342 }
trackingToken
string

An opaque token that represents this particular announcement. To be used for /feedback reporting.

error
object