Skip to main content

PUT /requests/:request_id/archive

PUThttps://api.courier.com/requests/:request_id/archive
Archive request
PATH PARAMS
request_idstringrequired
A unique identifier representing the request ID
Responses
AUTH TOKEN
curl --request PUT \
--url https://api.courier.com/requests/1-61e9dd53-b5bb6c863b7ffbe83ad4b28d/archive \
--header 'Accept: application/json'
Response Example
Empty

Usage

This is applicable for a very peculiar use-case: Messages that are sent to a list and are shown as a banner via Courier Embedded components. You'll most likely would not need to use this API unless you're specifically building around this use-case. Reach out to Courier Support if you have any questions.

Example

Method: PUT

URL: https://api.courier.com/requests/1-62bbd4dc-d0a17ebd6ec04e7bbab5de60/archive