Overview
What the Alia API does and how access works.
Alia answers WhatsApp messages for real estate agencies. The Alia API lets your CRM read those conversations and send messages to the agencies' contacts.
What you can do
- See which agencies your key can reach.
- List an agency's WhatsApp conversations, and search them by name or phone number.
- Read the messages in a conversation.
- Send a text message to a contact, even one who has never written to the agency.
The API does not send or upload files, and it does not send webhooks. To pick up new messages, list conversations again: the most recent activity comes first.
How access works
Alia sets up your CRM as an integration. Each agency that uses your CRM with Alia is linked to it.
An API key belongs to one integration. It works for every agency linked to that integration, including agencies linked later. Your key already tells Alia which integration you are, so requests name only the agency, by its ID:
/agencies/{agencyId}/...Call GET /me with your key to list your agencies and their IDs.
Base URL
https://api.alia.cx/api/v1Every request uses HTTPS. Request and response bodies are JSON.