---
title: "List or filter all WhatsAppMessage activities"
method: GET
path: "/activity/whatsapp_message/"
tags: ["activities.whatsapp_messages"]
---

# List or filter all WhatsAppMessage activities

`GET /activity/whatsapp_message/`

Filter by `external_whatsapp_message_id` to find messages to update or delete based on changes in WhatsApp.

## Query parameters

- `_limit` integer
- `_skip` integer
- `id__in` string[], nullable
- `lead_id` string[], nullable
- `contact_id` string[], nullable
- `user_id` string[], nullable
- `organization_id` string, nullable
- `_type` string[], nullable
- `date_created__gte` union
  - string, date-time
  - string, date
- `date_created__lte` union
  - string, date-time
  - string, date
- `date_created__gt` union
  - string, date-time
  - string, date
- `date_created__lt` union
  - string, date-time
  - string, date
- `activity_at__gte` union
  - string, date-time
  - string, date
- `activity_at__lte` union
  - string, date-time
  - string, date
- `activity_at__gt` union
  - string, date-time
  - string, date
- `activity_at__lt` union
  - string, date-time
  - string, date
- `external_whatsapp_message_id` string, nullable
- `_fields` string

## Response `200`

Successful response

- object
  - `data` WhatsAppMessageActivity[], required
    - `_type` string, required
    - `activity_at` string, date-time, nullable, required
    - `attachments` Attachment[]
      - `content_type` string, nullable, required
      - `filename` string, nullable, required
      - `size` integer, nullable, required
      - `thumbnail_url` string, nullable
      - `url` string, required
    - `contact_id` string, nullable, required
    - `created_by` string, nullable, required
    - `created_by_name` string, nullable
    - `date_created` string, date-time, required
    - `date_updated` string, date-time, required
    - `direction` 'incoming' | 'outgoing', required — Direction of communication. Outgoing means the communication flowing from the user to the lead/contact. Inbound means the opposite.
    - `external_whatsapp_message_id` string, required
    - `id` string, required
    - `integration_link` string, nullable, required
    - `integration_name` string, nullable, required
    - `lead_id` string, nullable, required
    - `local_phone` string, required
    - `local_phone_formatted` string, required
    - `message_html` string, required
    - `message_markdown` string, required
    - `organization_id` string, required
    - `remote_phone` string, required
    - `remote_phone_formatted` string, required
    - `response_to_id` string, nullable, required
    - `sequence_id` string, nullable
    - `sequence_name` string, nullable
    - `sequence_subscription_id` string, nullable
    - `source` 'ui' | 'api' | 'import' | 'clipper' | 'email' | 'suggestion' | 'segment-integration' | 'customerio-integration' | 'calendly-integration' | 'ai' | 'whatsapp' | 'webform', required
    - `text` string, required
    - `updated_by` string, nullable, required
    - `updated_by_name` string, nullable
    - `user_id` string, nullable, required
    - `user_name` string, nullable
    - `users` string[], required
  - `has_more` boolean, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/close/apis/close-api.md) · [All operations](https://skmtc.net/close/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/close/close-api/revisions/0dcf3303e9d7/schema)
