Get a list of all person lists

Description

The method returns all user person lists. A JWT token in the header is required.

Request Format

  • HTTP method: POST
  • URL: /person/lists
  • Content-Type: application/json
  • Authorization: required

Request Parameters

ParameterTypeLocationRequiredDescription
tokenstringHeaderUser JWT token

Example Request (cURL)

curl -X POST "https://api.enface.ai/person/lists"   -H "Content-Type: application/json"   -H "Authorization: Bearer jwt.temporary.token"

Response Examples

Success (200 OK)
[
  {
    "id": "75e55780-8943-11ea-9773-e96daa282099",
    "name": "Friends",
    "persons": 27
  }
]
Error (401 Unauthorized)
{
  "message": "access denied",
  "status": "error"
}