DocsGuides

Deprecation and sunset

How Coastly versions the Partner API and signals Deprecation and Sunset headers.

The Partner API is versioned in the URL path (/api/v1). Breaking changes ship under a new path version. Additive fields and new endpoints under /api/v1 are not breaking.

Policy

  • Notice. When an operation, field or media type is deprecated, responses for that surface include a Deprecation header (RFC 9745) with an HTTP-date of when the deprecation was announced.
  • Removal. When a removal date is set, responses also include a Sunset header (RFC 8594) with the HTTP-date after which the surface may return 410 Gone or disappear from /api/v1.
  • Minimum window. Coastly aims for at least 90 days between the first Deprecation signal and the Sunset date for a breaking removal, unless a security fix requires a shorter window.
  • Docs. Deprecated surfaces are marked in the API reference, OpenAPI, and this guide.

Headers

Deprecation: Sat, 01 Nov 2025 00:00:00 GMT
Sunset: Sun, 01 Feb 2026 00:00:00 GMT
Link: <https://coastly.surf/developers/guides/deprecation>; rel="deprecation"; type="text/html"
Header Spec Meaning
Deprecation RFC 9745 The operation or representation is deprecated as of this date.
Sunset RFC 8594 The operation or representation may be removed after this date.
Link with rel="deprecation" RFC 8288 Points at this policy or a successor document.

Nothing under /api/v1 is deprecated today, so live responses do not yet carry these headers. When the first deprecation lands, the headers above are the contract.

What is not a deprecation

  • Adding optional JSON fields
  • Adding new endpoints or scopes
  • Tightening validation on already-invalid input
  • Changing human-readable error.message text (branch on error.code)

Agents

Prefer the OpenAPI document and this policy over scraping HTML. If a response includes Deprecation or Sunset, stop issuing new writes against that surface and migrate before the sunset date.