Skip to main content
POST
/
{channelId}
/
broadcasts
/
{broadcastId}
/
recipients
Add recipients to broadcast
curl --request POST \
  --url https://api.heyy.io/api/v2.0/{channelId}/broadcasts/{broadcastId}/recipients \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contactsIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "data": [
    {
      "id": "<string>",
      "contactId": "<string>",
      "status": "<string>",
      "createdAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

channelId
string
required
broadcastId
string
required

Body

application/json
contactsIds
string<uuid>[]
required

Response

200 - application/json
data
object[]
required