{
"groupId": "120363345678901234@g.us",
"subject": "New Purchase Inquiry",
"description": "Group for purchase inquiries.",
"joinApprovalMode": "auto_approve",
"suspended": false,
"creationTimestamp": 1739321024,
"totalParticipantCount": 3,
"participants": [
{
"waId": "16315551111",
"userId": "US.1234",
"parentUserId": "US.parent123",
"username": "John"
}
]
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}WhatsApp Groups
Retrieve a group
Retrieves a WhatsApp group.
GET
https://api.ycloud.com/v2
/
whatsapp
/
{businessPhoneNumber}
/
groups
/
{groupId}
{
"groupId": "120363345678901234@g.us",
"subject": "New Purchase Inquiry",
"description": "Group for purchase inquiries.",
"joinApprovalMode": "auto_approve",
"suspended": false,
"creationTimestamp": 1739321024,
"totalParticipantCount": 3,
"participants": [
{
"waId": "16315551111",
"userId": "US.1234",
"parentUserId": "US.parent123",
"username": "John"
}
]
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}Authorizations
Path Parameters
WhatsApp group ID.
Example:
"120363345678901234@g.us"
Response
Successfully retrieved the group.
WhatsApp group object.
WhatsApp group ID.
Example:
"120363345678901234@g.us"
The group subject.
Maximum string length:
128Example:
"New Purchase Inquiry"
The group description.
Maximum string length:
2048Example:
"Group for purchase inquiries."
WhatsApp group join approval mode.
approval_required: New members must be approved before joining.auto_approve: New members can join without approval.
Available options:
approval_required, auto_approve Example:
"auto_approve"
Whether the group is suspended.
Example:
false
Unix timestamp indicating when the group was created.
Example:
1739321024
Total number of participants in the group.
Example:
3
Group participants.
Show child attributes
Show child attributes

