Join Group
curl --request POST \
--url https://api.example.com/api/v1/groups/join \
--header 'Content-Type: application/json' \
--data '
{
"session_name": "<string>",
"invite_link": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/groups/join"
payload = {
"session_name": "<string>",
"invite_link": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({session_name: '<string>', invite_link: '<string>'})
};
fetch('https://api.example.com/api/v1/groups/join', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"jid": "<string>",
"name": "<string>",
"owner_jid": "<string>",
"group_created": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}groups
Join Group
Join a WhatsApp group via invite link.
POST
/
api
/
v1
/
groups
/
join
Join Group
curl --request POST \
--url https://api.example.com/api/v1/groups/join \
--header 'Content-Type: application/json' \
--data '
{
"session_name": "<string>",
"invite_link": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/groups/join"
payload = {
"session_name": "<string>",
"invite_link": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({session_name: '<string>', invite_link: '<string>'})
};
fetch('https://api.example.com/api/v1/groups/join', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"jid": "<string>",
"name": "<string>",
"owner_jid": "<string>",
"group_created": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Body
application/json