Loading...
Skip to main content

Archive message

Archive request

URL: https://api.courier.com/requests/:request_id/archive

Method: PUT

Path Parameters

request_idstringrequired
A unique identifier representing the request ID

Response

status: 202 ACCEPTED

Request Example

curl --request PUT \
--url https://api.courier.com/requests/1-61e9dd53-b5bb6c863b7ffbe83ad4b28d/archive \
--header 'Accept: application/json'

Responses Example

Empty

Usage

Messages that are sent to a list or audience can be archived in bulk using this API with the returned request_id. You 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