---
title: "Request inbox messages refresh"
method: POST
path: "/3rdparty/v1/inbox/refresh"
tags: ["User", "Inbox"]
---

# Request inbox messages refresh

`POST /3rdparty/v1/inbox/refresh`

Refreshes inbox messages. Webhook triggering depends on the `webhookDelivery` parameter.

## Request body

- SmsgatewayInboxRefreshRequest
  - `deviceId` string — ID of the device to refresh messages for.
  - `messageTypes` SmsgatewayIncomingMessageType[] — List of message types to refresh. By default, SMS messages are refreshed.
  - `since` string, date-time, required — Start of the time range to refresh.
  - `triggerWebhooks` boolean — Deprecated: use WebhookDelivery instead. Indicates whether to trigger webhooks for the refreshed messages.
  - `until` string, date-time, required — End of the time range to refresh.
  - `webhookDelivery` 'Disabled' | 'Individual' | 'Batch'

## Response `202`

Inbox refresh request accepted

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error

---

[API](https://skmtc.dev/sms-gate/apis/smsgate-api.md) · [All operations](https://skmtc.dev/sms-gate/apis/smsgate-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sms-gate/smsgate-api/revisions/56a6604029f1/schema)
