Contacts
Comprehensive API for managing contacts in the system
Reading time: 2 minutes
Contacts
Comprehensive contact management with organization and classification support.
Contact Operations
Important Notes
ā ļø
Avatar
- You can upload an image via
fileor use a URL viaavatar - Supported formats: JPG, PNG
- Maximum size: 5MB
- Recommended dimensions: 512x512 pixels
š”
Favorite
is_favorite: true- appears in favorites listis_favorite: false- does not appear in favorites list- This value can be changed at any time
ā
Best Practices
- Use clear and distinctive names
- Add complete contact information
- Link contacts to branches and groups
- Update data regularly
Error Codes
| Code | Description | Cause | Solution |
|---|---|---|---|
| 400 | Bad Request | Invalid data | Check sent data |
| 404 | Not Found | Contact not found | Check contact ID |
| 409 | Conflict | Duplicate phone number | Use a different phone number |
| 413 | Payload Too Large | File size too large | Use file smaller than 5MB |
| 422 | Validation Error | Validation error | Review error message |
Related Sections
Technical Support
Need help?
- š§ Email: support@awalchat.com
- š¬ Live Chat: Available in the dashboard
- š± WhatsApp: Contact us directly via WhatsApp
- š Examples: See Code Examples