Photo Collect API
Photo Collect ↗
GETAccess & setup

Get current user

Resolve the user, roles, sites, and locale defaults behind an API key or access token.

GET/apiv1/token

Use this endpoint to verify your credentials and discover the site_code values available to your authenticated account. Authenticate with an API key or access token using the supported authentication headers. No app secret is required.

Manage account roles and site assignments in the Photo Collect web interface.

The optional language_interface parameter controls the response language. ISO locale codes such as en_US are recommended. Two-letter codes such as en are matched on a best-effort basis.

Response

{
  "username": "john.doe@photocollect.io",
  "fullname": "John Doe",
  "userrole": ["pos"],
  "sites": {
    "test": "Test Site",
    "newyork": "New York"
  },
  "default_site": "test",
  "default_invitation_locale": "de_DE",
  "default_interface_locale": "en_US"
}

Missing or invalid credentials return HTTP 401 with ACCESS_DENIED.

⌁

Connect your API

Credentials are kept in this session only.