VocalLabs icon

VocalLabs

Interact with VocalLabs AI Voice Calling API

Actions90

Contact → Add Multiple Contacts

AI-generated

Summary

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.

Links

Discussion