Contacts
Get common groups
List the groups the connected WhatsApp account shares with this contact (WhatsApp’s "groups in common").
id is the contact’s JID (e.g. 12345@c.us). Returns the same group list-item shape as GET /v1/groups, offset-paginated via limit + skip. Requires groups:read.
Request
curl -X GET "https://api.blueticks.co/v1/contacts//common_groups"{
"success": true,
"data": [
{
"id": "string",
"name": "string",
"description": "string",
"owner": "string",
"createdAt": "2019-08-24T14:15:22Z",
"lastMessageAt": "2019-08-24T14:15:22Z",
"participantCount": 0,
"restrict": true
}
],
"limit": 0,
"skip": 0,
"total": 0,
"nextCursor": "string"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"request_id": "string",
"requestId": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
],
"upgrade": {
"url": "string",
"text": "string",
"reset_time": "string",
"seconds_remaining": 0,
"plan": {}
}
}
}Path Parameters
id*string
Query Parameters
skip?integer
Number of items to skip before the page (default 0).
Default
0Range
0 <= valuelimit?integer
Page size (default and max 500 — the whole set in one page).
Default
500Range
1 <= value <= 500Response
Response Body
application/json
application/json