inbox_id parameter.
The Inbox object
The following attributes are returned when you fetch an inbox from the API.| Attribute | Description |
|---|---|
id | Unique identifier for the inbox |
name | Display name of the inbox |
team | ID of the team this inbox belongs to |
members | Array of user IDs who have access to this inbox |
phone / phones | Heymarket phone number(s) associated with this inbox |
auto_assignable | Whether new conversations are automatically assigned to a team member |
forward_number | Phone number to forward calls to |
widget_code | Embed code for the Heymarket web widget |
Retrieving your inbox IDs
Before you can send messages, you need your inbox ID. Retrieve all inboxes available to your account with:id field from the inbox you want to send from.
The
creator_id parameter when sending messages corresponds to the member ID returned in the members array from the Get Inboxes response — not a user account ID. Make sure you are using a member ID that belongs to the target inbox.Sending messages from an inbox
Pass theinbox_id in your message request body to specify which inbox the message should be sent from:
inbox_id explicitly when your account has multiple inboxes to ensure messages are sent from the correct number.