Adds an invite link for an IM group.
Operation description
-
Before calling this operation, make sure that you have a successfully created IM group.
-
If you do not have a successfully created IM group, call the AddChatGroup operation to create one.
-
After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
-
Currently, members can join an IM group only through an invite link.
-
The maximum number of members in a WhatsApp group is 8.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:AddChatGroupInviteLink |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BusinessNumber |
string |
Yes |
The business phone number. You can view the business phone number by calling the ListChatGroup operation. |
8613800*** |
| ChannelType |
string |
No |
The channel type. Valid values:
Note
Only the WhatsApp channel type is supported. |
|
| GroupId |
string |
Yes |
The group ID. You can view the group ID by calling the ListChatGroup operation. |
E93kdk**** |
| CustSpaceId |
string |
Yes |
The space ID or instance ID of the ISV sub-customer. This is the channel ID, which can be viewed on the Channel Management page. |
cams-x*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| InviteLink |
string |
The invite link. |
https://chat.whatsapp.com/**** |
| Code |
string |
The response code. Valid values:
|
OK |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O\n",
"InviteLink": "https://chat.whatsapp.com/****",
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.