API Reference
Billing
Domains
Emails
Hooks applications
Hooks endpoints
Hooks event types
Hooks messages
Hooks portal
Log drains
Receiving
Risk
Suppressions
Tracking
Webhook endpoints
Retry a delivery
POST
/v1/hooks/applications/{application}/deliveries/{delivery_id}/retry
Queues a finished delivery for one more attempt within seconds, to the endpoint's current URL and secret. A pending delivery is returned unchanged.
bearerAuthheader
AuthorizationBearer <token>A secret API key from the dashboard: coss_live_… for production environments, coss_test_… for sandbox environments.
application*stringThe application's id (happ_…) or your uid for it.
delivery_id*stringCoss-Version?"2026-10-10"The API version (a date) to use for this request. Defaults to your organization's version, pinned to the latest one when it first used the API and upgraded from the dashboard. The SDK always sends the version it was built for.
Value in
"2026-10-10"The delivery.
application/json- response
- response
- …
object*"hook_delivery"Value in
"hook_delivery"id*stringapplication_id*stringmessage_id*stringendpoint_id*stringstatus*stringpending: waiting for its next attempt. succeeded: the endpoint answered 2xx. failed: every attempt failed, or the endpoint was disabled or deleted.
Value in
"pending""succeeded""failed"attempt_count*integernext_attempt_at*|Format
date-timelast_status_code*integer|nulllast_error*string|nullcreated_at*stringFormat
date-timefinished_at*|Format
date-timeimport { Coss } from "coss";const coss = new Coss({ apiKey: process.env.COSS_API_KEY, baseUrl: "https://api.coss.com",});const { data, error } = await coss.hooks.deliveries.retry("customer_8812", "hdel_01k7c8m4q2f3e9v6t5r1n0p8yz");{ "object": "hook_delivery", "id": "hdel_01k7c8m4q2f3e9v6t5r1n0p8yz", "application_id": "happ_01k7c8m4q2f3e9v6t5r1n0p8yz", "message_id": "hmsg_01k7c8m4q2f3e9v6t5r1n0p8yz", "endpoint_id": "hep_01k7c8m4q2f3e9v6t5r1n0p8yz", "status": "succeeded", "attempt_count": 1, "next_attempt_at": null, "last_status_code": 200, "last_error": null, "created_at": "2026-01-15T09:30:00.000Z", "finished_at": "2026-01-15T09:30:00.000Z"}