ContactGroups

Add members to a contact group

Adds one or more contacts to a contact group, returning counts of added and skipped members.

POST
/v1/contact-groups/{groupId}/members

Adds one or more contacts to a contact group, returning counts of added and skipped members.

x-api-key<token>

In: header

Path Parameters

groupId*string
Match^cgrp_[0-9a-hjkmnp-tv-z]{16,24}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

contactIds*array<>
Items1 <= items
role?|null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/contact-groups/string/members" \  -H "Content-Type: application/json" \  -d '{    "contactIds": [      "string"    ]  }'
{  "added": 0,  "skipped": 0}

Related