Skip to main content
GET
/
api
/
v1
/
contacts
/
{contactId}
/
common-groups
Get common groups
curl --request GET \
  --url http://localhost:{port}/api/v1/contacts/{contactId}/common-groups \
  --header 'Authorization: Bearer <token>'
{
  "groups": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token authentication

Path Parameters

contactId
string
required

ID of the contact

Response

Common groups retrieved successfully

groups
object[]
required

List of groups that are common between the user and the contact