Messaging
Send Messages To Contacts
To send messages to a list of contacts in bulk
- widget_id: Widget ID to be used for sending the message. It must be connected to WhatsApp or SMS.
- contact_ids: list of contact IDs to whom the message is to be sent.
- message: text message to be sent.
- start_new_conversation: whether to start a new conversation or pick the latest.
post/api/v1/messaging/{widget_id}/contacts
Request
- Base URLhttps://api.insighto.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in query parameter api_key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
widget_idstring uuid required
Request body
Example request
{
"contact_ids": [
"a3ae8c0f-2e9d-4c18-8c0e-d510e3cacb04",
"8a849d72-93cf-4e6c-b1a3-6c10d4c65f1d"
],
"message": "Hi Adam, check out our new offer!",
"start_new_conversation": true
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.