Api Webhooks
create
apiWebhooks.create
Register an HTTPS endpoint for message events on the channels named in each event; Heyy then POSTs every matching message, with its content and sender, to that URL
Risk: write
message.received, message.sent, message.updated, whatsapp_message_received or whatsapp_message_status, each scoped to at least one channel id from channels.search. Heyy then POSTs every matching message, with its content and sender, to that URL.
events full type
events full type
webhook full type
webhook full type
remove
apiWebhooks.remove
Delete a webhook endpoint by id; Heyy stops delivering to it immediately
Risk: destructive · Irreversible
result full type
result full type
search
apiWebhooks.search
List the registered webhook endpoints with their URL, status and subscribed events
Risk: read
pagination full type
pagination full type
webhooks full type
webhooks full type
pagination full type
pagination full type
update
apiWebhooks.update
Change a webhook’s URL or events, or pause deliveries by setting it inactive
Risk: write
events full type
events full type
webhook full type
webhook full type
Attributes
create
attributes.create
Define a custom contact attribute: text, number, select or date, with the options a select needs and where it appears
Risk: write
details.options; any other type must omit it.
visibility full type
visibility full type
details full type
details full type
attribute full type
attribute full type
remove
attributes.remove
Delete a custom contact attribute by id; the values contacts had for it are gone and cannot be restored. An id that does not exist fails with 404 attribute_not_found
Risk: destructive · Irreversible
result full type
result full type
search
attributes.search
Search the custom contact attributes defined on the workspace, with their type, options and where they appear in Heyy
Risk: read
pagination full type
pagination full type
attributes full type
attributes full type
pagination full type
pagination full type
Automations
search
automations.search
List the automation workflows on the workspace with their status: draft, active or paused
Risk: read
pagination full type
pagination full type
automations full type
automations full type
pagination full type
pagination full type
Channels
search
channels.search
List the connected channels (WhatsApp, Instagram, Messenger, SMS or live chat) with their type and connection status
Risk: read
pagination full type
pagination full type
channels full type
channels full type
pagination full type
pagination full type
Contacts
create
contacts.create
Create a contact with a name, phone number or email, attach labels by id and set custom attribute values
Risk: write
attributes full type
attributes full type
labels full type
labels full type
contact full type
contact full type
search
contacts.search
Search contacts with a structured filter, free-text search, sorting and paging; returns the matched contacts with their labels and attribute values
Risk: read
query is a structured expression such as equals(email, 'a@b.com') over firstName, lastName, email, phoneNumber, isSubscribed, labels and the other listed fields; search is free text over name, phone and email. They can be combined.
pagination full type
pagination full type
contacts full type
contacts full type
pagination full type
pagination full type
Labels
create
labels.create
Create a label with a name and a hex colour
Risk: write
label full type
label full type
remove
labels.remove
Delete a label by id; it is detached from every contact that carried it
Risk: destructive · Irreversible
result full type
result full type
search
labels.search
Search the labels used to group contacts, with their colours
Risk: read
pagination full type
pagination full type
labels full type
labels full type
pagination full type
pagination full type
Message Templates
search
messageTemplates.search
List the message templates available for a channel, with their status, content and variables
Risk: read
pagination full type
pagination full type
messageTemplates full type
messageTemplates full type
pagination full type
pagination full type