ContactGroups

Get a contact group

Returns a single contact group by its ID. Use this endpoint to get a contact group through the Samva email API.

GET
/v1/contact-groups/{id}

Returns a single contact group by its ID.

x-api-key<token>

In: header

Path Parameters

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

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/contact-groups/string"
{  "id": "string",  "organizationId": "string",  "name": "string",  "description": "string",  "type": "static",  "criteria": {},  "color": "string",  "icon": "string",  "parentGroupId": "string",  "contactCount": 0,  "lastCalculatedAt": "string",  "isActive": true,  "createdAt": "string",  "updatedAt": "string"}