Group information by invitation
GET/api/v2/instance/:instanceId/group/invitation/:code
This endpoint allows you to retrieve recorded information from a WhatsApp group via a shared invitation. The invitation is used to identify the group you want information about.
Request
Path Parameters
instanceId stringrequired
The unique identifier of the group whose settings will be changed.
code stringrequired
Enter your invitation code.
Responses
- 200
- 400
- 401
- 500
Invitation group data
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id stringrequired
owner stringrequired
subject stringrequired
subjectOwner string
subjectTime number
creation string
leave number
desc string
descOwner string
descId string
restrict boolean
announce boolean
size number
participants object[]required
id stringrequired
name string
notify string
verifiedName string
imgUrl string
status string
isAdmin boolean
isSuperAdmin boolean
admin string
Default value: admin | superadmin
ephemeralDuration number
inviteCode string
{
"id": "string",
"owner": "string",
"subject": "string",
"subjectOwner": "string",
"subjectTime": 0,
"creation": "string",
"leave": 0,
"desc": "string",
"descOwner": "string",
"descId": "string",
"restrict": true,
"announce": true,
"size": 0,
"participants": [
{
"id": "string",
"name": "string",
"notify": "string",
"verifiedName": "string",
"imgUrl": "string",
"status": "string",
"isAdmin": true,
"isSuperAdmin": true,
"admin": "admin | superadmin"
}
],
"ephemeralDuration": 0,
"inviteCode": "string"
}
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...