{
"approvedJoinRequests": [
"<string>"
],
"rejectedJoinRequests": [
"<string>"
],
"failedJoinRequests": [
{
"joinRequestId": "join-request-id",
"errors": [
{}
]
}
],
"errors": [
{}
]
}{
"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
Approve group join requests
Approves one or more pending join requests for a WhatsApp group.
POST
https://api.ycloud.com/v2
/
whatsapp
/
{businessPhoneNumber}
/
groups
/
{groupId}
/
joinRequests
/
approve
{
"approvedJoinRequests": [
"<string>"
],
"rejectedJoinRequests": [
"<string>"
],
"failedJoinRequests": [
{
"joinRequestId": "join-request-id",
"errors": [
{}
]
}
],
"errors": [
{}
]
}{
"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"
Body
application/json
Join request IDs to approve or reject.
Example:
["join-request-id"]
Response
Successfully processed the join request approval.

