Skip to content

Link a channel ID to a contact

PUT
/api/v1/contacts/{contact_id}/channels/{channel}
curl --request PUT \
--url https://renotify.app/api/v1/contacts/ct_jss32memeMpC/channels/telegram \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "external_id": "123456789" }'

The ID moves from any other contact in the workspace that had it.

contact_id
required
string

The ID of the contact.

Example
ct_jss32memeMpC
channel
required
string

One of telegram, messenger, instagram, browser_push.

Example
telegram
contact
required
integer

The contact ID.

Example
42
Media typeapplication/json
object
external_id
required

The contact’s ID on the channel: the Telegram chat ID for your bot, the Messenger or Instagram ID scoped to your page or account, or for browser_push the subscriber’s SendSeven contact ID. IDs from another bot, page or account don’t work.

string
Example
123456789