---
title: "GET /crm/whatsapp"
method: GET
path: "/crm/whatsapp"
tags: ["CRM"]
---

# GET /crm/whatsapp

`GET /crm/whatsapp`

Fetches the whatsapp interactions of a given date (Only allows the past dates) and a given proccess. This API returns at max 100 records in one page

## Query parameters

- `date` string
- `pageNo` number, required
- `processName` string

## Response `200`

If the auth token is valid.

- Whatsapp — Schema for crm whatsapp interactions
  - `statusCode` number — Will be 0 in case of success
  - `message` string — Contains the success message or error reason, based on the statusCode
  - `data` object
    - `metadata` object[]
      - `total` number — Total number of interactions for the given date
      - `page` number — Current page no
    - `data` object[]
      - `customer` object — Customer details
        - `name` string — Name of the customer
        - `phoneNumber` string — Phone number of the customer with country code
      - `message` string — WhatsApp message that is sent
      - `label` string — Label of the sent WhatsApp template
      - `status` string — Status of this WhatsApp message.
      - `user` object
        - `name` string — name of the User
        - `id` string — Id of the user
      - `createdAt` number — Interaction created at epoch (in seconds since 1970)

## Other responses

- `403` — UnAuthorized.

---

[API](https://skmtc.dev/runo/apis/api-documentation.md) · [All operations](https://skmtc.dev/runo/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runo/api-documentation/revisions/19460dffac44/schema)
