Skip to main content
POST
Add Item

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_id
string<uuid>
required

Body

application/json

Body for adding an item to a collection.

file
required

File to add, as a file id from /v3/upload or a URL. Accepted MIME types depend on the collection's subfeature (images for image/face_recognition).

Response

Successful Response

Item ids stored in a collection (provider-side ids, passed through).

collection_id
string<uuid>
required
item_ids
string[]
required

Provider-side item ids (face ids for image/face_recognition).