Photo Collect API
Photo Collect ↗
POSTAccess & setup

Create a user token

Exchange Photo Collect login credentials for a temporary dynamic access token.

POST/apiv1/token

Use dynamic access tokens only when operating explicitly on behalf of a Photo Collect user, such as an app login. Server integrations should use a static API key.

Send the username and password using HTTP Basic authentication. Tokens expire two weeks after their last use.

curl --user "user@example.com:password" \
  --request POST "https://demo.photocollect.io/apiv1/token"

Response

{
  "token": "<yourDynamicAccessToken>"
}

Missing or invalid credentials return HTTP 401 with ACCESS_DENIED.

⌁

Connect your API

Credentials are kept in this session only.