Skip to main content
apiguide.dev

HTTP 308 — Permanent Redirect

The resource has been permanently moved. Method must not be changed.

Status CodeHTTP 308
CategoryRedirection (3xx)
API Error Subtypes0 error schemas
HTTP Headers1 header

What does HTTP status code 308 mean?

The 308 Permanent Redirect status code indicates that the resource has been permanently moved to a new URI and the client must preserve the HTTP method used in the original request.

When to use it in APIs

Use when permanently renaming write endpoints (e.g., changing /v1/create to /v1/register), preventing clients from dropping their payload.

How it compares to other codes

  • 301 Moved Permanently: Allows method switching (POST to GET), while 308 preserves the original method.

Specific API Error Types for 308

No specific Problem+JSON schemas have been defined for HTTP 308 on apiguide.dev yet.

Associated HTTP Headers

Related HTTP Status Codes