PhotoPrism Authentication API

The Authentication API from PhotoPrism — 18 operation(s) for authentication.

Business capability
Customer Sign-In AE-160.10

Operations 24

GET /api/v1/oauth/authorize OAuth2 authorization endpoint for apps (authorization code flow with PKCE) #
POST /api/v1/oauth/consent returns a pending OAuth authorization request for the consent page #
POST /api/v1/oauth/consent/approve approves a pending OAuth authorization request #
POST /api/v1/oauth/consent/deny denies a pending OAuth authorization request #
GET /api/v1/oauth/logout OAuth2/OIDC end-session endpoint (RP-initiated logout) #
POST /api/v1/oauth/logout OAuth2/OIDC end-session endpoint (RP-initiated logout) #
POST /api/v1/oauth/revoke revoke an OAuth2 access token or session #
POST /api/v1/oauth/token create an OAuth2 access token #
GET /api/v1/oauth/userinfo OAuth2/OIDC userinfo endpoint #
POST /api/v1/oauth/userinfo OAuth2/OIDC userinfo endpoint #
GET /api/v1/oidc/login start OpenID Connect login (browser redirect) #
GET /api/v1/oidc/redirect complete OIDC login (callback) #
DELETE /api/v1/session delete a session (logout) #
GET /api/v1/session get the current session or a session by id #
POST /api/v1/session create a session (login) #
DELETE /api/v1/session/{id} delete a session (logout) #
GET /api/v1/session/{id} get the current session or a session by id #
POST /api/v1/sessions create a session (login) #
DELETE /api/v1/sessions/{id} delete a session (logout) #
GET /api/v1/sessions/{id} get the current session or a session by id #
GET /api/v1/users/{uid}/grants list the apps connected to a user account #
DELETE /api/v1/users/{uid}/grants/{grant} disconnect an app from a user account #
PUT /api/v1/users/{uid}/password change a user's password #
GET /api/v1/users/{uid}/sessions list sessions for a user #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/photoprism:photoprism-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

photoprism-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: 'API request bodies and responses are usually JSON-encoded, except for binary data and some of the OAuth2 endpoints. Note that the `Content-Type` header must be set to `application/json` for this, as the request may otherwise fail with error 400.

    When clients have a valid access token, e.g. obtained through the `POST /api/v1/session` or `POST /api/v1/oauth/token` endpoint, they can use a standard Bearer Authorization header to authenticate their requests. Submitting the access token with a custom `X-Auth-Token` header is supported as well.'
  title: PhotoPrism Authentication API
  version: v1
servers:
- url: https://demo.photoprism.app
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/photoprism/openapi/photoprism-authentication-api-openapi.yml