GET
/v2/announcementGet the latest announcement
Retrieves the latest announcement for the authenticated user. Use this operation to check which announcement is currently available to that user.
200Returns the latest announcement object, including its announcement `type`.
typestringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to access announcements.
codestringrequired
paramsarray<object>optional
404Returned when no announcement is available for the authenticated user.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid, a 401 when the request is unauthenticated, a 403 when the authenticated user is not permitted to access announcements, and a 404 when no announcement is available. Send the request as the authenticated user whose latest announcement you want to retrieve.