API Variables
WhatsApp Group API Variables
Below are the Variables which are in use with WhatsApp Groups
Request Variables
Variable Name
Type
Description
application
Numeric
10=WhatsApp Web Automation
group_subject
String
Subject of the Group, maximum 25 Characters
group_icon
URL
Pass the Link of the picture be updated as group icon
File Size - 5 MB Recommended dimension : 640x640 File Type - .jpeg,png,jpg
Not supported in WhatsApp Web Automation
group_id
String
Unique Group ID which returns after creating a group
number
Numeric
WhatsApp number to make as admin, the number must be a member in the group, please pass country code along with number without 0 or +
type
Numeric
0=Members
1=Admin
action
Numeric
1=Delete Group Icon (Not supported in WhatsApp Web Automation) 2=Delete Invite URL 3=Leave Group
Response Variables
Variable Name
Type
Description
group_id
String
This will return after creating a group , this id used to identify the group
group_invite_ink
Link
This will return after creating a group , this link can be shared with users to join the group
group_subject
String
Group Subject
group_icon_link
URL
Group Icon Link (Not supported in WhatsApp Web Automation)
group_admins
Array
Array which contains admin details number created_time
group_members
Array
Array which contains group member details number created_time
group_created_date
Date
Date & time when the groups is created,
Timezone in your account , and date format is DD-MM-YYYY hh:mm AM
data
Array
Response Array when a group members or admins are removed
number status status
0 = Removed 1 = Failed
status
Numeric
Status of the request
message
String
Error / Sucess message of the request
WhatsApp Group Error Codes
Error Code
WhatsApp Group Error Code
833
Group Subject Cannot Be Empty
834
Group Subject Length Exceeds
835
Cannot Create Group
836
Empty/Invalid Group ID
837
Cannot Create Admin
838
Cannot Process The Request
839
Invalid Type
840
Invalid Whatsapp Number
841
Numbers Not In The Group
842
Invalid Action
844
Invalid Permission Value
Last updated