Announcement
Announcement List
GET
‎https://<domain>/<api prefix>/<version>/announcements/get/list/
This API endpoint will return a list of announcements.
Query Parameters
offset
string
limit
string
read_status
string
0(unread) or 1(readed),default value is 1
subject
string
subject text
start_date
string
formate: mm/dd/yyyy
end_date
string
formate: mm/dd/yyyy
created
string
formate: mm/dd/yyyy
Headers
apikey*
string
apikey
Authorization*
string
Bearer access token
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
start_date,
end_date,
created
Invalid date format.
Close Announcement
POST
‎https://<domain>/<api prefix>/<version>/announcements/close/
This API endpoint will close an announcement.
Headers
apikey*
string
Apikey
Authorization*
string
Bearer access token
Request Body
slug*
string
Announcement slug
Sample Code
Node
PHP
Error Responses
Status Code
Error Type
FIeld
Description
400
Validation Error
slug
This field is required.
This field may not be blank.
Requested announcement not found.
You can't close the requested announcement.
Last updated