RASSEL
App · 25 actions
Send WhatsApp messages, manage contacts and tags, and handle customer conversations in your RASSEL inbox.
Actions
| Action | What it does |
|---|---|
| Add note | Add an internal note to a conversation. |
| Add tags to contact | Add tags to a contact and keep the tags they already have. |
| Create or update contact | Add a contact, or update the one with the same phone number or email. |
| Create tag | Add a tag to your workspace's list. |
| Delete contact | Delete a contact. |
| Delete tag | Delete a tag from your workspace's list, and optionally from every contact. |
| Get contact | Get one contact. |
| Get conversation | Get one conversation with its customer, channel and assigned agent. |
| Get workspace | Get the workspace this key belongs to and what the key may do. |
| List agents | List the people in your workspace with their role, presence and open conversations. |
| List channels | List your connected channels, such as WhatsApp numbers, with their IDs. |
| List contact conversations | List every conversation with a contact. |
| List contact tags | List the tags a contact has. |
| List contacts | List your contacts, newest first, or find them by name, phone, email or tag. |
| List conversations | List conversations, most recently active first. |
| List messages | List a conversation's latest messages, oldest to newest, with delivery and read status. |
| List tags | List your workspace's tags with how many contacts carry each. |
| List teams | List your teams with their members and who is present. |
| List templates | List your WhatsApp message templates. |
| Remove tag from contact | Take one tag off a contact and keep the rest. |
| Reply in conversation | Send a reply in a conversation: free text within WhatsApp's 24-hour window, or an approved template. |
| Send message | Send a WhatsApp message to a phone number or contact. |
| Track event | Record something a customer did, such as order_paid, to start matching automation journeys. |
| Update contact | Change a contact's details. |
| Update conversation | Change a conversation's status or assign it to an agent. |
Add note
Add an internal note to a conversation. The customer never sees it.
Inputs
- Conversation
idnumberRequired - The conversation's ID.
- Note
texttextRequired - The note.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"id": 1
}
}Add tags to contact
Add tags to a contact and keep the tags they already have.
Inputs
- Contact
idnumberRequired - The contact to tag.
- Tags
tagslistRequired - The tags to add, 1 to 50. New ones join your tag list.
Outputs
dataobject- The contact.
Example output
{
"data": {
"added": [
"VIP"
],
"blocked": false,
"company": "Rose Store",
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"stage": "won",
"tags": [
"VIP"
]
}
}Create or update contact
Add a contact, or update the one with the same phone number or email.
Inputs
- Phone
phonetext - Their phone number in international format, such as +966551234567. A phone or an email is needed; an existing contact with it is updated.
- Name
nametext - Their name, up to 200 characters.
- Email
emailtext - Their email address.
- Company
companytext - Their company.
- Lifecycle stage
lifecycletext - Their lifecycle stage, such as lead or customer.
- Pipeline stage
stagetext - Their pipeline stage, such as won.
- Notes
notestext - Notes about them, up to 2,000 characters.
- Tags
tagslist - Their full list of tags. It replaces the tags they have.
Outputs
dataobject- The contact.
Example output
{
"data": {
"blocked": false,
"company": "Rose Store",
"created": true,
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"stage": "won",
"tags": [
"VIP"
]
}
}Create tag
Add a tag to your workspace's list.
Inputs
- Name
nametextRequired - The tag's name, 1 to 60 characters, without quotes. Names are unique.
- Colour
colortext - Its colour as #RRGGBB, such as #d97706.
- Description
descriptiontext - What it is for, up to 300 characters.
Outputs
dataobject- The tag.
Example output
{
"data": {
"color": "#d97706",
"contacts": 128,
"created_at": "2026-10-11 10:20:00",
"description": "Top customers",
"id": 9,
"name": "VIP"
}
}Delete contact
Delete a contact.
Inputs
- Contact
idnumberRequired - The contact to delete.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"id": 1842
}
}Delete tag
Delete a tag from your workspace's list, and optionally from every contact.
Inputs
- Tag
idnumberRequired - The tag to delete.
- Remove from contacts
remove_from_contactstrue/false - Also take it off every contact. Contacts keep it otherwise.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"id": 9,
"ok": true,
"removed_from_contacts": 128
}
}Get contact
Get one contact.
Inputs
- Contact
idnumberRequired - The contact to read.
Outputs
dataobject- The contact.
Example output
{
"data": {
"blocked": false,
"company": "Rose Store",
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"stage": "won",
"tags": [
"VIP"
]
}
}Get conversation
Get one conversation with its customer, channel and assigned agent.
Inputs
- Conversation
idnumberRequired - The conversation's ID.
Outputs
dataobject- The conversation.
Example output
{
"data": {
"assignee": {
"id": 5,
"name": "Noura"
},
"channel": {
"id": 3,
"name": "Sales WhatsApp",
"number": "+966500000000",
"type": "whatsapp"
},
"closed_at": "2026-11-20 14:00:00",
"contact": {
"id": 1842,
"name": "Salem Alotaibi",
"phone": "+966551234567"
},
"created_at": "2026-11-20 12:58:41",
"id": 12,
"last_at": "2026-11-20 13:02:10",
"last_message": "When will my order arrive?",
"priority": "high",
"status": "open",
"unread": 2
}
}Get workspace
Get the workspace this key belongs to and what the key may do.
Inputs
None.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"available_scopes": [
"contacts.read",
"contacts.write"
],
"key": {
"id": 4,
"name": "Lodol",
"scopes": [
"contacts.read",
"messages.send"
]
},
"workspace": {
"id": 7,
"name": "Rose Store"
}
}
}List agents
List the people in your workspace with their role, presence and open conversations.
Inputs
- Status
statustext - Only agents with this presence.One of:
online,busy,break(On a break),offline. - Present only
presenttrue/false - Only agents who are online, busy or on a break.
- Role
roletext - Only agents with this role, such as admin, supervisor or agent.
- Team
teamnumber - Only agents in this team.
- Include deactivated
include_inactivetrue/false - Include deactivated accounts.
- Page size
limitnumber - How many to list, 1 to 100. 50 when empty.From 1 to 100.
- Skip
offsetnumber - How many to skip, to read the next page.At least 0.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"active": true,
"created_at": "2026-09-01 08:00:00",
"email": "noura@example.com",
"id": 5,
"name": "Noura",
"open_conversations": 7,
"present": true,
"role": "agent",
"status": "online",
"team": {
"id": 2,
"name": "Sales"
}
}
],
"limit": 50,
"offset": 0
}
}List channels
List your connected channels, such as WhatsApp numbers, with their IDs.
Inputs
None.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"id": 3,
"name": "Sales WhatsApp",
"number": "+966500000000",
"status": "connected",
"type": "whatsapp"
}
],
"limit": 50
}
}List contact conversations
List every conversation with a contact.
Inputs
- Contact
idnumberRequired - The contact.
- Page size
limitnumber - How many to list, 1 to 100. 50 when empty.From 1 to 100.
- Skip
offsetnumber - How many to skip, to read the next page.At least 0.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"assignee": {
"id": 5,
"name": "Noura"
},
"channel": {
"id": 3,
"name": "Sales WhatsApp",
"number": "+966500000000",
"type": "whatsapp"
},
"closed_at": "2026-11-20 14:00:00",
"contact": {
"id": 1842,
"name": "Salem Alotaibi",
"phone": "+966551234567"
},
"created_at": "2026-11-20 12:58:41",
"id": 12,
"last_at": "2026-11-20 13:02:10",
"last_message": "When will my order arrive?",
"priority": "high",
"status": "open",
"unread": 2
}
],
"limit": 50,
"offset": 0
}
}List contact tags
List the tags a contact has.
Inputs
- Contact
idnumberRequired - The contact to read.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"contact_id": 1842,
"tags": [
"VIP"
]
}
}List contacts
List your contacts, newest first, or find them by name, phone, email or tag.
Inputs
- Search
searchtext - Part of a name, phone number or email address.
- Phone
phonetext - An exact phone number, in any format.
- Email
emailtext - An exact email address.
- Tag
tagtext - Only contacts with this tag.
- Page size
limitnumber - How many to list, 1 to 100. 50 when empty.From 1 to 100.
- Skip
offsetnumber - How many to skip, to read the next page.At least 0.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"blocked": false,
"company": "Rose Store",
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"stage": "won",
"tags": [
"VIP"
]
}
],
"limit": 50,
"offset": 0
}
}List conversations
List conversations, most recently active first.
Inputs
- Status
statustext - Only conversations with this status.One of:
open,pending,closed. - Contact
contact_idnumber - Only conversations with this contact.
- Page size
limitnumber - How many to list, 1 to 100. 50 when empty.From 1 to 100.
- Skip
offsetnumber - How many to skip, to read the next page.At least 0.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"assignee": {
"id": 5,
"name": "Noura"
},
"channel": {
"id": 3,
"name": "Sales WhatsApp",
"number": "+966500000000",
"type": "whatsapp"
},
"closed_at": "2026-11-20 14:00:00",
"contact": {
"id": 1842,
"name": "Salem Alotaibi",
"phone": "+966551234567"
},
"created_at": "2026-11-20 12:58:41",
"id": 12,
"last_at": "2026-11-20 13:02:10",
"last_message": "When will my order arrive?",
"priority": "high",
"status": "open",
"unread": 2
}
],
"limit": 50,
"offset": 0
}
}List messages
List a conversation's latest messages, oldest to newest, with delivery and read status.
Inputs
- Conversation
idnumberRequired - The conversation's ID.
- Before message
before_idnumber - Only messages older than this message ID, to read further back.
- Attachments only
media_onlytrue/false - Only messages with images or files.
- Page size
limitnumber - How many messages to list, 1 to 100. 50 when empty.From 1 to 100.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"author": "API",
"body": "Your order is on its way",
"channel_id": 3,
"conversation_id": 12,
"created_at": "2026-11-20 13:04:10",
"delivered_at": "2026-11-20 13:04:12",
"direction": "out",
"id": 90212,
"kind": "text",
"read_at": "2026-11-20 13:05:00",
"sent_at": "2026-11-20 13:04:10",
"status": "sent",
"template_id": 7
}
],
"limit": 50
}
}List tags
List your workspace's tags with how many contacts carry each.
Inputs
- Page size
limitnumber - How many to list, 1 to 500. 50 when empty.From 1 to 500.
- Skip
offsetnumber - How many to skip, to read the next page.At least 0.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"color": "#d97706",
"contacts": 128,
"created_at": "2026-10-11 10:20:00",
"description": "Top customers",
"id": 9,
"name": "VIP"
}
],
"limit": 50,
"offset": 0
}
}List teams
List your teams with their members and who is present.
Inputs
None.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"color": "#2563eb",
"description": "Sales team",
"id": 2,
"members": [
{
"id": 5,
"name": "Noura",
"present": true,
"status": "online"
}
],
"name": "Sales"
}
]
}
}List templates
List your WhatsApp message templates. Only approved ones can be sent.
Inputs
None.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"data": [
{
"body": "Hi {{1}}, your order {{2}} has shipped.",
"category": "UTILITY",
"id": 7,
"language": "en",
"name": "order_shipped",
"status": "APPROVED"
}
],
"limit": 50
}
}Remove tag from contact
Take one tag off a contact and keep the rest.
Inputs
- Contact
idnumberRequired - The contact.
- Tag
tagtextRequired - The tag to take off.
Outputs
dataobject- The contact.
Example output
{
"data": {
"blocked": false,
"company": "Rose Store",
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"removed": true,
"stage": "won",
"tags": [
"VIP"
]
}
}Reply in conversation
Send a reply in a conversation: free text within WhatsApp's 24-hour window, or an approved template.
Inputs
- Conversation
idnumberRequired - The conversation's ID.
- Text
texttext - The reply, up to 4,096 characters.
- Template
template_idnumber - An approved template to send instead of text.
- Template values
paramslist - The values for the template's placeholders, in order.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"contact_id": 1842,
"conversation_id": 12,
"message": {
"author": "API",
"body": "Your order is on its way",
"channel_id": 3,
"conversation_id": 12,
"created_at": "2026-11-20 13:04:10",
"delivered_at": "2026-11-20 13:04:12",
"direction": "out",
"id": 90212,
"kind": "text",
"read_at": "2026-11-20 13:05:00",
"sent_at": "2026-11-20 13:04:10",
"status": "sent",
"template_id": 7
},
"ok": true
}
}Send message
Send a WhatsApp message to a phone number or contact. The first message to a customer must be an approved template.
Inputs
- Channel
channel_idnumberRequired - The channel to send from.
- Phone
phonetext - The customer's phone number in international format. Fill in this or Contact.
- Contact
contact_idnumber - An existing contact to send to, instead of a phone number.
- Name
nametext - The customer's name, used when a new contact is made.
- Template
template_idnumber - An approved template to send.
- Template values
paramslist - The values for the template's placeholders, in order.
- Text
texttext - Free text, which WhatsApp allows only within 24 hours of the customer's last message.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"contact_id": 1842,
"conversation_id": 12,
"message": {
"author": "API",
"body": "Your order is on its way",
"channel_id": 3,
"conversation_id": 12,
"created_at": "2026-11-20 13:04:10",
"delivered_at": "2026-11-20 13:04:12",
"direction": "out",
"id": 90212,
"kind": "text",
"read_at": "2026-11-20 13:05:00",
"sent_at": "2026-11-20 13:04:10",
"status": "sent",
"template_id": 7
},
"ok": true
}
}Track event
Record something a customer did, such as order_paid, to start matching automation journeys.
Inputs
- Event
eventtextRequired - The event's name, such as order_paid.
- Phone
phonetext - The customer's phone number. A phone, email or your customer ID is needed.
- Email
emailtext - The customer's email address.
- Your customer ID
external_idtext - The customer's ID in your own system.
- Name
nametext - The customer's name.
- Details
propsobject - Details of the event as name and value pairs, such as total and order_id.
Outputs
dataobject- The response from RASSEL.
Example output
{
"data": {
"contact_id": 1842,
"event": 311,
"ok": true
}
}Update contact
Change a contact's details. Only the fields you fill in change.
Inputs
- Contact
idnumberRequired - The contact to change.
- Name
nametext - Their name, up to 200 characters.
- Email
emailtext - Their email address.
- Company
companytext - Their company.
- Lifecycle stage
lifecycletext - Their lifecycle stage, such as lead or customer.
- Pipeline stage
stagetext - Their pipeline stage, such as won.
- Notes
notestext - Notes about them, up to 2,000 characters.
- Tags
tagslist - Their full list of tags. It replaces the tags they have.
Outputs
dataobject- The contact.
Example output
{
"data": {
"blocked": false,
"company": "Rose Store",
"created_at": "2026-10-02 09:14:55",
"email": "salem@example.com",
"id": 1842,
"lifecycle": "customer",
"name": "Salem Alotaibi",
"notes": "Prefers WhatsApp",
"opted_out": false,
"phone": "+966551234567",
"stage": "won",
"tags": [
"VIP"
]
}
}Update conversation
Change a conversation's status or assign it to an agent.
Inputs
- Conversation
idnumberRequired - The conversation's ID.
- Status
statustext - The new status.One of:
open,pending,closed. - Assign to
assignee_idnumber - The agent to assign it to.
Outputs
dataobject- The conversation.
Example output
{
"data": {
"assignee": {
"id": 5,
"name": "Noura"
},
"channel": {
"id": 3,
"name": "Sales WhatsApp",
"number": "+966500000000",
"type": "whatsapp"
},
"closed_at": "2026-11-20 14:00:00",
"contact": {
"id": 1842,
"name": "Salem Alotaibi",
"phone": "+966551234567"
},
"created_at": "2026-11-20 12:58:41",
"id": 12,
"last_at": "2026-11-20 13:02:10",
"last_message": "When will my order arrive?",
"priority": "high",
"status": "open",
"unread": 2
}
}