# Beeper

> Find chats and messages, browse contacts, and send messages through Beeper Desktop.

App · 17 actions. Web page: https://docs.lodol.com/docs/integrations/beeper

## Actions

### Archive or unarchive a chat

Archive or unarchive a chat in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Archived (`archived`, true/false, required): Archived.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {}
}
```

### Delete a message

Delete a message in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Message ID (`message_id`, text, required): Message id.
- For everyone (`for_everyone`, true/false): For everyone.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {}
}
```

### Edit message text

Edit message text in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Message ID (`message_id`, text, required): Message id.
- Text (`text`, text, required): Text.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "chatID": "example",
    "id": "example",
    "senderID": "example",
    "text": "example",
    "timestamp": "example"
  }
}
```

### Get a chat

Get a chat in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "accountID": "example",
    "id": "example",
    "lastActivity": "example",
    "title": "example",
    "unreadCount": 1
  }
}
```

### Get a chat account

Get a chat account in the connected Beeper Desktop app.

**Inputs**

- Account ID (`account_id`, text, required): Account id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "accountID": "example",
    "network": "example",
    "status": "example"
  }
}
```

### Get a message

Get a message in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Message ID (`message_id`, text, required): Message id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "chatID": "example",
    "id": "example",
    "senderID": "example",
    "text": "example",
    "timestamp": "example"
  }
}
```

### List account contacts

List account contacts in the connected Beeper Desktop app.

**Inputs**

- Account ID (`account_id`, text, required): Account id.
- Cursor (`cursor`, text): Cursor.
- Direction (`direction`, text): Direction. One of: `before`, `after`.
- Limit (`limit`, number): Limit. From 1 to 200.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "hasMore": false,
    "items": [],
    "newestCursor": "example",
    "oldestCursor": "example"
  }
}
```

### List chat accounts

List chat accounts in the connected Beeper Desktop app.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Beeper.

**Example output**

```json
{
  "data": []
}
```

### List chat labels

List chat labels in the connected Beeper Desktop app.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Beeper.

**Example output**

```json
{
  "data": []
}
```

### List chats

List chats in the connected Beeper Desktop app.

**Inputs**

- Account IDs (`account_ids`, list): Account ids.
- Cursor (`cursor`, text): Cursor.
- Direction (`direction`, text): Direction. One of: `before`, `after`.
- Limit (`limit`, number): Limit. From 1 to 200.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "hasMore": false,
    "items": [],
    "newestCursor": "example",
    "oldestCursor": "example"
  }
}
```

### List messages in a chat

List messages in a chat in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Cursor (`cursor`, text): Cursor.
- Direction (`direction`, text): Direction. One of: `before`, `after`.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "hasMore": false,
    "items": [],
    "newestCursor": "example",
    "oldestCursor": "example"
  }
}
```

### Mark a chat as read

Mark a chat as read in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Through message ID (`through_message_id`, text): Through message id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {}
}
```

### Mark a chat as unread

Mark a chat as unread in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- From message ID (`from_message_id`, text): From message id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {}
}
```

### Search account contacts

Search account contacts in the connected Beeper Desktop app.

**Inputs**

- Account ID (`account_id`, text, required): Account id.
- Query (`query`, text, required): Query.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "items": []
  }
}
```

### Search chats

Search chats in the connected Beeper Desktop app.

**Inputs**

- Query (`query`, text): Query.
- Account IDs (`account_ids`, list): Account ids.
- Cursor (`cursor`, text): Cursor.
- Direction (`direction`, text): Direction. One of: `before`, `after`.
- Limit (`limit`, number): Limit. From 1 to 200.
- Inbox (`inbox`, text): Inbox. One of: `primary`, `low-priority`, `archive`.
- Chat type (`chat_type`, text): Chat type. One of: `single`, `group`, `any`.
- Unread only (`unread_only`, true/false): Unread only.
- Activity after (`activity_after`, date and time): Activity after.
- Activity before (`activity_before`, date and time): Activity before.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "hasMore": false,
    "items": [],
    "newestCursor": "example",
    "oldestCursor": "example"
  }
}
```

### Search messages

Search messages in the connected Beeper Desktop app.

**Inputs**

- Query (`query`, text): Query.
- Account IDs (`account_ids`, list): Account ids.
- Chat IDs (`chat_ids`, list): Chat ids.
- Cursor (`cursor`, text): Cursor.
- Direction (`direction`, text): Direction. One of: `before`, `after`.
- Limit (`limit`, number): Limit. From 1 to 200.
- Date after (`date_after`, date and time): Date after.
- Date before (`date_before`, date and time): Date before.
- Sender (`sender`, text): Sender.
- Media types (`media_types`, list): Media types. One or more of: `any`, `video`, `image`, `link`, `file`.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "hasMore": false,
    "items": [],
    "newestCursor": "example",
    "oldestCursor": "example"
  }
}
```

### Send a text message

Send a text message in the connected Beeper Desktop app.

**Inputs**

- Chat (`chat_id`, text, required): Chat id.
- Text (`text`, text, required): Text.
- Reply to message ID (`reply_to_message_id`, text): Reply to message id.

**Outputs**

- `data` (object): The response from Beeper.

**Example output**

```json
{
  "data": {
    "chatID": "example",
    "pendingMessageID": "example"
  }
}
```
