RASSEL

App · 25 actions

Send WhatsApp messages, manage contacts and tags, and handle customer conversations in your RASSEL inbox.

Actions

ActionWhat it does
Add noteAdd an internal note to a conversation.
Add tags to contactAdd tags to a contact and keep the tags they already have.
Create or update contactAdd a contact, or update the one with the same phone number or email.
Create tagAdd a tag to your workspace's list.
Delete contactDelete a contact.
Delete tagDelete a tag from your workspace's list, and optionally from every contact.
Get contactGet one contact.
Get conversationGet one conversation with its customer, channel and assigned agent.
Get workspaceGet the workspace this key belongs to and what the key may do.
List agentsList the people in your workspace with their role, presence and open conversations.
List channelsList your connected channels, such as WhatsApp numbers, with their IDs.
List contact conversationsList every conversation with a contact.
List contact tagsList the tags a contact has.
List contactsList your contacts, newest first, or find them by name, phone, email or tag.
List conversationsList conversations, most recently active first.
List messagesList a conversation's latest messages, oldest to newest, with delivery and read status.
List tagsList your workspace's tags with how many contacts carry each.
List teamsList your teams with their members and who is present.
List templatesList your WhatsApp message templates.
Remove tag from contactTake one tag off a contact and keep the rest.
Reply in conversationSend a reply in a conversation: free text within WhatsApp's 24-hour window, or an approved template.
Send messageSend a WhatsApp message to a phone number or contact.
Track eventRecord something a customer did, such as order_paid, to start matching automation journeys.
Update contactChange a contact's details.
Update conversationChange 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

ConversationidnumberRequired
The conversation's ID.
NotetexttextRequired
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

ContactidnumberRequired
The contact to tag.
TagstagslistRequired
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

Phonephonetext
Their phone number in international format, such as +966551234567. A phone or an email is needed; an existing contact with it is updated.
Namenametext
Their name, up to 200 characters.
Emailemailtext
Their email address.
Companycompanytext
Their company.
Lifecycle stagelifecycletext
Their lifecycle stage, such as lead or customer.
Pipeline stagestagetext
Their pipeline stage, such as won.
Notesnotestext
Notes about them, up to 2,000 characters.
Tagstagslist
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

NamenametextRequired
The tag's name, 1 to 60 characters, without quotes. Names are unique.
Colourcolortext
Its colour as #RRGGBB, such as #d97706.
Descriptiondescriptiontext
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

ContactidnumberRequired
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

TagidnumberRequired
The tag to delete.
Remove from contactsremove_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

ContactidnumberRequired
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

ConversationidnumberRequired
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

Statusstatustext
Only agents with this presence.One of: online, busy, break (On a break), offline.
Present onlypresenttrue/false
Only agents who are online, busy or on a break.
Roleroletext
Only agents with this role, such as admin, supervisor or agent.
Teamteamnumber
Only agents in this team.
Include deactivatedinclude_inactivetrue/false
Include deactivated accounts.
Page sizelimitnumber
How many to list, 1 to 100. 50 when empty.From 1 to 100.
Skipoffsetnumber
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

ContactidnumberRequired
The contact.
Page sizelimitnumber
How many to list, 1 to 100. 50 when empty.From 1 to 100.
Skipoffsetnumber
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

ContactidnumberRequired
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

Searchsearchtext
Part of a name, phone number or email address.
Phonephonetext
An exact phone number, in any format.
Emailemailtext
An exact email address.
Tagtagtext
Only contacts with this tag.
Page sizelimitnumber
How many to list, 1 to 100. 50 when empty.From 1 to 100.
Skipoffsetnumber
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

Statusstatustext
Only conversations with this status.One of: open, pending, closed.
Contactcontact_idnumber
Only conversations with this contact.
Page sizelimitnumber
How many to list, 1 to 100. 50 when empty.From 1 to 100.
Skipoffsetnumber
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

ConversationidnumberRequired
The conversation's ID.
Before messagebefore_idnumber
Only messages older than this message ID, to read further back.
Attachments onlymedia_onlytrue/false
Only messages with images or files.
Page sizelimitnumber
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 sizelimitnumber
How many to list, 1 to 500. 50 when empty.From 1 to 500.
Skipoffsetnumber
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

ContactidnumberRequired
The contact.
TagtagtextRequired
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

ConversationidnumberRequired
The conversation's ID.
Texttexttext
The reply, up to 4,096 characters.
Templatetemplate_idnumber
An approved template to send instead of text.
Template valuesparamslist
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

Channelchannel_idnumberRequired
The channel to send from.
Phonephonetext
The customer's phone number in international format. Fill in this or Contact.
Contactcontact_idnumber
An existing contact to send to, instead of a phone number.
Namenametext
The customer's name, used when a new contact is made.
Templatetemplate_idnumber
An approved template to send.
Template valuesparamslist
The values for the template's placeholders, in order.
Texttexttext
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

EventeventtextRequired
The event's name, such as order_paid.
Phonephonetext
The customer's phone number. A phone, email or your customer ID is needed.
Emailemailtext
The customer's email address.
Your customer IDexternal_idtext
The customer's ID in your own system.
Namenametext
The customer's name.
Detailspropsobject
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

ContactidnumberRequired
The contact to change.
Namenametext
Their name, up to 200 characters.
Emailemailtext
Their email address.
Companycompanytext
Their company.
Lifecycle stagelifecycletext
Their lifecycle stage, such as lead or customer.
Pipeline stagestagetext
Their pipeline stage, such as won.
Notesnotestext
Notes about them, up to 2,000 characters.
Tagstagslist
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

ConversationidnumberRequired
The conversation's ID.
Statusstatustext
The new status.One of: open, pending, closed.
Assign toassignee_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
  }
}

On this page