Download OpenAPI specification:Download
Welcome to the wppconnect-server API documentation. This API provides a set of endpoints to interact with the wppconnect-server application, allowing you to build integrations and automate interactions with WhatsApp.
This body is not required. Not sent body to get all chats or filter.
| session required | string Example: NERDWHATS_AMERICA |
| phone | string Example: phone=5521999999999 |
| isGroup | string Example: isGroup=false |
| includeMe | string Example: includeMe=true |
| includeNotifications | string Example: includeNotifications=false |
| messageId required | string Example: messageId=<messageId> |
| type | string Example: type=all |
| count | string Example: count=20 |
| direction | string Example: direction=before |
| id | string Example: id=<message_id_to_use_direction> |
| status | string |
| response | string |
| event | string |
| private | string |
{- "messageId": "conversation_status_changed",
- "private": "false"
}This body is not required. Not sent body to get all chats or filter.
| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| count | number |
| direction | string |
| onlyGroups | boolean |
| onlyUsers | boolean |
| onlyWithUnreadMessage | boolean |
| withLabels | Array of arrays |
{- "id": "<chatId>",
- "count": 20,
- "direction": "after",
- "onlyGroups": false,
- "onlyUsers": false,
- "onlyWithUnreadMessage": false,
- "withLabels": [ ]
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string Example: 5521999999999 |
| isGroup | string Example: isGroup=false |
| includeMe | string Example: includeMe=true |
| includeNotifications | string Example: includeNotifications=true |
| session required | string Example: NERDWHATS_AMERICA |
| phone required | string Example: 5521999999999 |
| includeMe | string Example: includeMe=true |
| includeNotifications | string Example: includeNotifications=false |
| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| value | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "value": true
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| time | number |
| type | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "time": 1,
- "type": "hours"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| chatstate | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "chatstate": "1"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| value | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "value": true
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| duration | number |
| value | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "duration": 5,
- "value": true
}Handles operations related to contacts, such as managing contact lists, adding or removing contacts, and retrieving contact information.
Handles operations related to catalogs and business-related functionalities, such as managing product catalogs and business information.
| session required | string Example: NERDWHATS_AMERICA |
| name | string |
| image | string |
| description | string |
| price | string |
| url | string |
| retailerId | string |
| currency | string |
{- "name": "Product name",
- "image": "<base64_string>",
- "description": "Description for your product",
- "price": "8890",
- "retailerId": "SKU001",
- "currency": "BRL"
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| options | object |
{- "id": "<product_id>",
- "options": {
- "name": "New name for product"
}
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| base64 | string |
{- "id": "<product_id>",
- "base64": "<base64_string>"
}| session required | string Example: NERDWHATS_AMERICA |
| name | string |
| products | Array of arrays |
{- "name": "Collection name",
- "products": [
- "<id_product1>",
- "<id_product2>"
]
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| products | Array of arrays |
{- "id": "<product_id>",
- "options": {
- "name": "New name for collection"
}
}| session required | string Example: NERDWHATS_AMERICA |
| name | string |
| description | boolean |
| groupIds | Array of arrays |
{- "name": "My community name",
- "description": "Description for your community",
- "groupIds": [
- "groupId1",
- "groupId2"
]
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| groupsIds | Array of arrays |
{- "id": "<you_community_id@g.us>",
- "groupsIds": [
- "group1Id@g.us"
]
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| groupsIds | Array of arrays |
{- "id": "<you_community_id@g.us>",
- "groupsIds": [
- "group1Id@g.us"
]
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| participantsId | Array of arrays |
{- "id": "<you_community_id@g.us>",
- "participantsId": [
- "group1Id@g.us"
]
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| participantsId | Array of arrays |
{- "id": "<you_community_id@g.us>",
- "participantsId": [
- "group1Id@g.us"
]
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| isNewsletter | boolean |
| isLid | boolean |
| message | string |
| options | object |
{- "phone": "5521999999999",
- "isGroup": false,
- "isNewsletter": false,
- "isLid": false,
- "message": "Hi from WPPConnect"
}| session required | string Example: NERDWHATS_AMERICA |
| id | string |
| newText | string |
| options | object |
{- "id": "true_5521999999999@c.us_3EB04FCAA1527EB6D9DEC8",
- "newText": "New text for message"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| isNewsletter | boolean |
| isLid | boolean |
| filename | string |
| caption | string |
| base64 | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "isNewsletter": false,
- "isLid": false,
- "filename": "file name lol",
- "caption": "caption for my file",
- "base64": "<base64> string"
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string |
| isGroup | boolean |
| path required | string |
{- "phone": "5521999999999",
- "isGroup": true,
- "path": "<path_file>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string |
| isGroup | boolean |
| path required | string |
{- "phone": "5521999999999",
- "isGroup": true,
- "path": "<path_file>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| message | string |
| messageId | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "message": "Reply to message",
- "messageId": "<id_message>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| isNewsletter | boolean |
| isLid | boolean |
| filename | string |
| caption | string |
| base64 | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "isNewsletter": false,
- "isLid": false,
- "filename": "file name lol",
- "caption": "caption for my file",
- "base64": "<base64> string"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| isNewsletter | boolean |
| isLid | boolean |
| filename | string |
| caption | string |
| base64 | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "isNewsletter": false,
- "isLid": false,
- "filename": "file name lol",
- "caption": "caption for my file",
- "base64": "<base64> string"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| path | string |
| quotedMessageId | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "path": "<path_file>",
- "quotedMessageId": "message Id"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| base64Ptt | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "base64Ptt": "<base64_string>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string |
| isGroup required | boolean |
| message required | string |
| messageId | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "message": "Reply to message",
- "messageId": "<id_message>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| url | string |
| caption | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "caption": "Text for describe link"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| lat | string |
| lng | string |
| title | string |
| address | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "lat": "-89898322",
- "lng": "-545454",
- "title": "Rio de Janeiro",
- "address": "Av. N. S. de Copacabana, 25, Copacabana"
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string |
| isGroup | boolean |
| message required | string |
| mentioned required | Array of strings |
{- "phone": "groupId@g.us",
- "isGroup": true,
- "message": "Your text message",
- "mentioned": [
- "556593077171@c.us"
]
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| description | string |
| sections | Array of arrays |
| buttonText | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "description": "Desc for list",
- "buttonText": "Select a option",
- "sections": [
- {
- "title": "Section 1",
- "rows": [
- {
- "rowId": "my_custom_id",
- "title": "Test 1",
- "description": "Description 1"
}, - {
- "rowId": "2",
- "title": "Test 2",
- "description": "Description 2"
}
]
}
]
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| items | object |
| options | object |
{- "phone": "5521999999999",
- "isGroup": false,
- "items": [
- {
- "type": "custom",
- "name": "Item test",
- "price": 120000,
- "qnt": 2
}, - {
- "type": "custom",
- "name": "Item test 2",
- "price": 145000,
- "qnt": 2
}
]
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| name | string |
| choices | Array of arrays |
| options | object |
{- "phone": "5521999999999",
- "isGroup": false,
- "name": "Poll name",
- "choices": [
- "Option 1",
- "Option 2",
- "Option 3"
], - "options": {
- "selectableCount": 1
}
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string |
| keyType required | string |
| name required | string |
| key required | string |
| instructions | string |
| options | object |
{- "phone": "5521999999999",
- "keyType": "PHONE",
- "name": "WPPCONNECT-TEAM",
- "key": "+5567123456789",
- "instructions": "some instructions about the pix",
- "options": { }
}| session required | string Example: NERDWHATS_AMERICA |
| phone required | string Example: 5521999999999@c.us |
| count | string Example: count=20 |
| direction | string Example: direction=before |
| id | string Example: id=<message_id_to_use_direction> |
| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| messageId | string |
| onlyLocal | boolean |
| deleteMediaInDevice | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "messageId": "<messageId>",
- "deleteMediaInDevice": true
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| messageId | string |
{- "phone": "5521999999999",
- "isGroup": false,
- "messageId": "<messageId>"
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| name | string |
| contactsId | Array of arrays |
{- "phone": "5521999999999",
- "isGroup": false,
- "name": "Name of contact",
- "contactsId": [
- "5521999999999"
]
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| value | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "value": true
}| session required | string Example: NERDWHATS_AMERICA |
| phones | Array of arrays |
| message | string |
{- "phones": [
- "<array_phone_id"
], - "message": "Message"
}Edit your bussiness profile
| session required | string Example: NERDWHATS_AMERICA |
| adress | string |
string | |
| categories | object |
| websites | Array of arrays |
{- "adress": "Av. Nossa Senhora de Copacabana, 315",
- "email": "test@test.com.br",
- "categories": {
- "$id": "133436743388217",
- "$localized_display_name": "Artes e entretenimento",
- "$not_a_biz": false
},
}Handles operations related to status stories, such as viewing, updating, and managing status stories
| session required | string Example: NERDWHATS_AMERICA |
| text required | string |
| options | object |
{- "text": "My new storie",
- "options": {
- "backgroundColor": "#0275d8",
- "font": 2
}
}Manages labels or tags associated with chats or messages for organization and categorization purposes.
| session required | string Example: NERDWHATS_AMERICA |
| $name | string |
object |
{- "name": "Name of your label",
- "options": {
- "labelColor": 4292849392
}
}| session required | string Example: NERDWHATS_AMERICA |
| chatIds required | Array of strings |
Array of objects |
{- "chatIds": [
- "5521999999999"
], - "options": [
- {
- "labelId": "76",
- "type": "add"
}, - {
- "labelId": "75",
- "type": "remove"
}
]
}Manages operations related to WhatsApp groups, such as creating, modifying, and managing group settings.
| session required | string Example: NERDWHATS_AMERICA |
| groupId | string Example: groupId=<groupId> |
| wid | string Example: wid=5521999999999@c.us |
| $groupId | string |
| $path | string |
{- "$groupId": "string",
- "$path": "string"
}{- "status": "success",
- "response": {
- "id": "1234567890@g.us",
- "name": "Group name",
- "description": "Group description",
- "subject": "Group subject",
- "subjectUpdatedAt": "2024-11-12T08:00:00.000Z",
- "subjectUpdatedBy": "1111111111111@c.us",
- "descriptionUpdatedAt": "2024-11-13T09:00:00.000Z",
- "descriptionUpdatedBy": "2222222222222@c.us",
- "createdAt": "2024-11-10T12:34:56.000Z",
- "lastActivityAt": "2024-11-15T10:00:00.000Z",
- "participants": [
- {
- "id": "1111111111111@c.us",
- "isAdmin": true
}
]
}
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string |
| groupId required | string |
{- "groupId": "<groupId>"
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string Example: <groupId> |
{- "status": "success",
- "response": {
- "id": "1234567890@g.us",
- "name": "Group name",
- "description": "Group description",
- "subject": "Group subject",
- "subjectUpdatedAt": "2024-11-12T08:00:00.000Z",
- "subjectUpdatedBy": "1111111111111@c.us",
- "descriptionUpdatedAt": "2024-11-13T09:00:00.000Z",
- "descriptionUpdatedBy": "2222222222222@c.us",
- "createdAt": "2024-11-10T12:34:56.000Z",
- "lastActivityAt": "2024-11-15T10:00:00.000Z",
- "participants": [
- {
- "id": "1111111111111@c.us",
- "isAdmin": true
}
]
}
}| session required | string Example: NERDWHATS_AMERICA |
| participants required | Array of strings |
| name required | string |
{- "participants": [
- "5521999999999"
], - "name": "Group name"
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string |
| phone required | string |
{- "groupId": "<groupId>",
- "phone": "5521999999999"
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string |
| phone required | string |
{- "groupId": "<groupId>",
- "phone": "5521999999999"
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string |
| phone required | string |
{- "groupId": "<groupId>",
- "phone": "5521999999999"
}| session required | string Example: NERDWHATS_AMERICA |
| groupId required | string |
| phone required | string |
{- "groupId": "<groupId>",
- "phone": "5521999999999"
}| session required | string Example: NERDWHATS_AMERICA |
| $groupId | string |
| $description | string |
{- "$groupId": "string",
- "$description": "string"
}| session required | string Example: NERDWHATS_AMERICA |
| $groupId | string |
| $property | string |
| $value | boolean |
{- "$groupId": "string",
- "$property": "string",
- "$value": true
}| session required | string Example: NERDWHATS_AMERICA |
| phone | string |
| isGroup | boolean |
| all | boolean |
{- "phone": "5521999999999",
- "isGroup": false,
- "all": false
}Change limits of whatsapp web. Types value: maxMediaSize, maxFileSize, maxShare, statusVideoMaxDuration, unlimitedPin;
| session required | string Example: NERDWHATS_AMERICA |
| type required | string |
| value required | any |
{- "type": "maxFileSize",
- "value": 104857600
}You can point your Chatwoot to this route so that it can perform functions.
| session required | string Example: NERDWHATS_AMERICA |
| event | string |
| private | string |
{- "messageId": "conversation_status_changed",
- "private": "false"
}| session required | string Example: NERDWHATS_AMERICA |
| id | string Example: id=<newsletter_id> |
| name | string |
| description | string |
| picture | string |
{- "name": "New name of channel",
- "description": "New description of channel",
- "picture": "<new_base64_image> or send null"
}| session required | string Example: NERDWHATS_AMERICA |
| id required | string Example: NEWSLETTER ID |
| name | string |
| description | string |
| picture | string |
{- "name": "New name of channel",
- "description": "New description of channel",
- "picture": "<new_base64_image> or send null"
}