iLive Docs
API ReferenceFace Services

Create Collection

POST
/api/v2/collections
/api/v2/collections

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

external_id
Required
External Id

Minimum length: 1Maximum length: 120

descriptionDescription

curl -X POST "https://docs.localhost:8543/api/v2/collections" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "string",
    "description": "string"
  }'

Successful Response

{
  "external_id": "string",
  "description": "string",
  "face_count": 0,
  "created_at": "2019-08-24T14:15:22Z"
}