DevKits

application/*

application/vnd.api+json

JSON:API — a structured JSON convention for REST APIs.

What is application/vnd.api+json?

application/vnd.api+json is the media type for the JSON:API specification — a widely adopted convention for structuring REST resources, relationships, and pagination in JSON.

Typical usage

APIs that follow the JSON:API spec (Ember Data servers, many enterprise APIs).

Common gotchas

Requests without matching Accept and Content-Type headers may be rejected. JSON:API is strict about media type negotiation.

HTTP header example

Response header

Content-Type: application/vnd.api+json; charset=utf-8

Reference

jsonapi.org

Frequently asked questions

What is the application/vnd.api+json MIME type?

application/vnd.api+json is the media type for the JSON:API specification — a widely adopted convention for structuring REST resources, relationships, and pagination in JSON.

What file extension does application/vnd.api+json use?

application/vnd.api+json has no single canonical file extension — it is used as a transfer / content type rather than being tied to a specific file name suffix.

How do I set the Content-Type for application/vnd.api+json?

Send the HTTP response header Content-Type: application/vnd.api+json; charset=utf-8. APIs that follow the JSON:API spec (Ember Data servers, many enterprise APIs).

Is application/vnd.api+json an official MIME type?

Yes. application/vnd.api+json is officially registered with IANA (jsonapi.org), so standards-conformant clients recognize it.

What are common mistakes with application/vnd.api+json?

Requests without matching Accept and Content-Type headers may be rejected. JSON:API is strict about media type negotiation.

Related MIME types