Actions90
- Agent Actions
- Get Agents
- Get Agent By ID
- Create Agent
- Update Agent
- Get Agent Templates
- Get Voices By Language
- Toggle Favorite
- Update Agent Visibility
- Get Agent Prompt History
- Update Success Metric
- Update WhatsApp Notification
- Update Mail Notification
- Get Agent Documents
- Insert Agent Document
- Get AI Models
- Get Agent Actions
- Update Agent Reschedule
- Get Keyword Replacements
- Get Agent Keywords
- Add Keyword
- Update Keyword
- Delete Keyword
- Get Template
- Get Agent Samples
- Get Agent FAQs
- Manage Agent FAQ
- Analytics Actions
- Call Actions
- Campaign Actions
- Contact Actions
- Dashboard Actions
- Identity Actions
- Library Actions
- Marketplace Actions
- SIP Actions
- Wallet Actions
Contact → Add Multiple Contacts
AI-generatedSummary
Add multiple contacts to a specified prospect group in VocalLabs by providing the group ID, user ID, and an array of contact objects.
Inputs
- Prospect Group ID (required) — ID of the prospect group. Obtain this ID from the "Get Contact Groups" operation.
- User ID (required) — Your VocalLabs User ID, used to authenticate the request. This can be obtained from the Auth → Get Auth Info operation.
- Contacts (JSON) (required) — A JSON array of contact objects to add to the group. Each contact requires a name (string), phone (numeric, without a leading '+'), and an optional data object containing additional metadata (e.g., email or company).
Output shape
An object indicating success, number of contacts added, a list of added contacts with their name, phone, and group ID, and the raw API response.
The output returns success status and details about contacts added. Phone numbers in contacts should be formatted without a leading '+'. The API request will fail if the contacts JSON is not valid or empty.
Examples
Example 1: Add multiple contacts to a vocal group
Provide the Prospect Group ID, your User ID, and a JSON array of contacts with name, phone, and optional data fields to add them to the group.
