Line Broadcast
Component explanation :
Field Name
Description
Required
Authorization
Generated token id
Yes
name
Name of your broadcast
Yes
channel
Channel id of your used channel
Yes
sendingMode
the sending method you will use. Currently there are 2 sending mode, i.e : send immediately (now) and scheduled send (scheduled)
possible value: Now, Scheduled
Yes
scheduledDate
the date and time scheduled for sending broadcast.
Field format: "yyyy-mm-dd hh:mm:sss"
Yes, when sending mode is 'Scheduled'
templateId
Id of the template that you want to use for your broadcast
No
recipient
your recipient id
No
content
the contents of your broadcast message.
Note : For Channel Line number of maximal content that can be send on a single broadcast is 5.
Yes
Send Broadcast Text
Method
POST
Media Type
application/json
URL
https://[server]/dolphin/apiv1/graph/broadcast
Header
Authorization: Bearer [generatedToken]
Body :
{
"name":"your-broadcast-name",
"channel":"channel-used-for-broadcast",
"sendingMode":"sending-mode",
"scheduledDate":"2021-01-01 23:30:334",
"content" : [
{
"type" : "text",
"message": "First broadcast"
}
]
}Response : 200
Send Broadcast Image
Method
POST
Media Type
application/json
URL
https://[server]/dolphin/apiv1/graph/broadcast
Header
Authorization : Bearer [generatedToken]
Body :
Response : 200
Send Broadcast Video
Method
POST
Media Type
application/json
URL
https://[server]/dolphin/apiv1/graph/broadcast
Header
Authorization : Bearer [generatedToken]
Body :
Response : 200
Create Multiple Broadcast
Multiple broadcast allow you to create more than one broadcast at once.
Body :
Response
Response status : 200
Get Broadcast detail by ID
Response
Response status : 200
Last updated
Was this helpful?