1. Contacts
RASL
  • Introduction
  • Authentication
  • Changelog
  • Messages
    • Overview
    • Send Text Message
      POST
    • Send Media Message
      POST
    • Send Template Message
      POST
    • Send Interactive Message
      POST
    • List Messages
      GET
    • Get Message
      GET
  • Auth (OTP/Verification)
    • Overview
    • Send OTP
      POST
    • Verify OTP
      POST
    • Resend OTP
      POST
    • Check OTP Status
      POST
    • List Authentication Templates
      GET
  • Templates
    • Overview
    • List Templates
      GET
    • Get Template
      GET
    • Sync Templates
      POST
  • Contacts
    • Overview
    • List Contacts
      GET
    • Create Contact
      POST
    • Get Contact
      GET
    • Update Contact
      PATCH
    • Delete Contact
      DELETE
    • Batch Create Contacts
      POST
    • Batch Delete Contacts
      DELETE
  • Groups
    • Overview
    • List Groups
    • Create Group
    • Get Group
    • Update Group
    • Delete Group
    • Add Contacts to Group
    • Remove Contacts from Group
  • Account
    • Overview
    • Get Account Info
    • Get Usage Statistics
    • Get Plan Limits
  • Integrations
    • Webhook Format Reference
    • N8N Webhook Integration
    • eCommerce Webhook Integration
      • Webhook Listener
      • WooCommerce Webhook Setup
Dashboard
Support
Support
  • Email
  • WhatsApp
Dashboard
Support
Support
  • Email
  • WhatsApp
Instagram
  1. Contacts

List Contacts

GET
https://getrasl.io/api/v2/contacts

Retrieve a paginated list of contacts with advanced filtering, sorting, searching, field selection, and relationship inclusion#

Required Scope#

contacts:read

Filtering#

Apply filters using the format filter[field]=value or filter[field][operator]=value

Filter [field]#

type Contact type
status_id Status ID
source_id Source ID
assigned_id Assigned user ID
created_at Creation date
group_id Group ID

Filter [operator]#

gte Greater than or equal
lte Less than or equal
gt Greater than
lt Less than
ne Not equal
like Partial match (wraps with %)
in Match any value in list
not_in Exclude values in list
between Between two values
null Check if field is null (true/false)

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://getrasl.io/api/v2/contacts?page&per_page&sort&search&q&filter[type]&filter[status_id]&filter[source_id]&filter[assigned_id]&filter[created_at]&filter[group_id]&gte&lte&gt&lt&ne&like&in&not_in&between&null&include&fields' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "data": [
        {
            "id": 0,
            "firstname": "string",
            "lastname": "string",
            "company": "string",
            "type": "string",
            "email": "string",
            "phone": "string",
            "status_id": 0,
            "source_id": 0,
            "description": null,
            "city": null,
            "state": null,
            "zip": null,
            "address": null,
            "country_id": null,
            "assigned_id": 0,
            "group_id": [
                "string"
            ],
            "is_opted_out": true,
            "created_at": "string",
            "updated_at": "string"
        }
    ],
    "meta": {
        "request_id": "string",
        "timestamp": "string",
        "pagination": {
            "total": 0,
            "count": 0,
            "per_page": 0,
            "current_page": 0,
            "total_pages": 0,
            "has_more": true
        }
    }
}
🟠401UNAUTHORIZED
🟠403INSUFFICIENT_SCOPE
🟠403FEATURE_LIMIT_EXCEEDED
🟠404NOT_FOUND
🟠422VALIDATION_ERROR
🟠422WHATSAPP_NOT_CONFIGURED
🟠429RATE_LIMIT_EXCEEDED
🔴500INTERNAL_ERROR
Previous
Overview
Next
Create Contact
Built with