Link a channel ID to a contact
PUT
/api/v1/contacts/{contact_id}/channels/{channel}
const url = 'https://renotify.app/api/v1/contacts/architecto/channels/messenger';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"external_id":"123456789"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://renotify.app/api/v1/contacts/architecto/channels/messenger \ --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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”contact_id
required
string
The ID of the contact.
Example
architectochannel
required
string
One of messenger, instagram.
Example
messengercontact
required
integer
The contact ID.
Example
42Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
external_id
required
The contact’s ID on the channel: the Messenger or Instagram ID scoped to your page or account. IDs from another page or account don’t work.
string
Example
123456789