Schedule an announcement
Changed onSchedule an announcement
Creates an announcement. You can also schedule an announcement in the Sendbird Dashboard.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Headers
Request body
Example request
{
"create_channel_options": {
"cover_url": "cover_url",
"data": "data",
"custom_type": "custom_type",
"name": "name",
"distinct": true
}
}Response
Successful Response
Example response
{
"create_channel_options": {
"cover_url": "cover_url",
"data": "data",
"custom_type": "custom_type",
"name": "name",
"distinct": true
},
"end_at": 6,
"enable_push": true,
"mark_as_read": true,
"target_at": "target_at",
"unique_id": "unique_id",
"target_user_count": 2,
"announcement_group": "announcement_group",
"sent_channel_count": 7,
"sent_user_count": 9,
"scheduled_at": 2,
"open_count": 5,
"message": {
"message_retention_hour": 1,
"data": "data",
"custom_type": "custom_type",
"user_id": "user_id",
"type": "type",
"content": "content"
},
"priority": "priority",
"target_channel_count": 3,
"target_channel_type": "target_channel_type",
"completed_at": 0,
"cease_at": "cease_at",
"resume_at": "resume_at",
"send_to_frozen_channels": true,
"target_custom_type": "target_custom_type",
"create_channel": true,
"open_rate": 5.637376656633329,
"status": "status"
}Changes
- breaking
the
request property type changed fromstringtoobject - breaking
the
request property format changed from no format toint64 - breaking
the
request property format changed from no format toint64 - warning
deleted the
headerrequest parameterApi-Token - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
api operation id
scheduleAnnouncementremoved and replaced withscheduleAnAnnouncement - info
added the new optional
headerrequest parameterapi-token - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
the
headerrequest parameterApi-Tokenbecame optional
- info