Authentication API Technical Reference

The Authentication API accepts a user email address and password and returns a user session token to use with other API endpoints.

The Authentication API accepts a user email address and password and returns a user session token to use with other API endpoints (such as the Types API).


The endpoint URL for the Authentication API is https://auth.prismic.io/login and the method is POST.

In your request headers, set Content-Type to application/json.

In the request body, include a email and password properties, like so:

{
  "email": "john.doe@your-website.com",
  "password": "yourPassword"
}

If the request is successful, you will receive a 200 response containing the user session token.