Base URL
All API requests should be made to:Authentication
The Wassist API uses API key authentication. Include your API key in theX-API-Key header of every request:
Getting Your API Token
- Log in to wassist.app
- Navigate to Settings → API Keys
- Click Create API Key
- Copy and securely store your token
Example Request
Request Format
- All request bodies should be JSON
- Set
Content-Type: application/jsonheader - For file uploads, use
multipart/form-data
Response Format
All responses are JSON. Successful responses include the requested data:Paginated Responses
List endpoints return paginated results:offset and limit query parameters to paginate:
Error Responses
Errors return appropriate HTTP status codes with a JSON body:Common Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
204 | No Content (successful delete) |
400 | Bad Request (validation error) |
401 | Unauthorized (invalid/missing token) |
403 | Forbidden (insufficient permissions) |
404 | Not Found |
429 | Rate Limited |
500 | Server Error |
Rate Limiting
API requests are rate-limited to ensure fair usage. Current limits:- 100 requests per minute per API token
429 response:
API Resources
Agents
Create and manage AI agents with all their configurations.
WhatsApp Accounts
Connect and manage WhatsApp Business accounts.
WhatsApp Linking
Create link sessions for connecting new accounts.
Business API Proxy
Access the WhatsApp Business API directly.
Quick Reference
Agents
| Method | Endpoint | Description |
|---|---|---|
GET | /agents/ | List all agents |
POST | /agents/ | Create an agent |
GET | /agents/{id}/ | Get an agent |
PUT | /agents/{id}/ | Update an agent |
DELETE | /agents/{id}/ | Delete an agent |
POST | /agents/{id}/deploy/ | Deploy to WhatsApp |
POST | /agents/{id}/share/ | Share with a user |
WhatsApp Accounts
| Method | Endpoint | Description |
|---|---|---|
GET | /whatsapp-accounts/ | List accounts |
GET | /whatsapp-accounts/{id}/ | Get an account |
POST | /whatsapp-accounts/{id}/deploy-agent/ | Deploy agent |
POST | /whatsapp-accounts/{id}/add-number/ | Add phone number |
* | /whatsapp-accounts/{id}/proxy/{path} | Business API proxy |
WhatsApp Linking
| Method | Endpoint | Description |
|---|---|---|
POST | /whatsapp-link-sessions/ | Create link session |
GET | /whatsapp-link-sessions/ | List sessions |
GET | /whatsapp-link-sessions/{id}/ | Get session |