Create Group Invitation
POST/api/v2/instance/:instanceId/group/:groupJid/invitation
Create Group Invitation
Request
Path Parameters
instanceId stringrequired
The unique identifier of the group whose settings will be changed.
groupJid stringrequired
Group ID
Responses
- 200
- 400
- 401
- 500
Setting Updated
- application/json
- Schema
- Example (from schema)
Schema
inviteCode string
invitationLink string
Default value: https://whatsapp.com/{inviteCode}
{
"inviteCode": "string",
"invitationLink": "https://whatsapp.com/{inviteCode}"
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
InternalServerErrorException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...