Skip to main content
POST
Create collection

Authorizations

Authorization
string
header
required

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

Headers

OnDeck-Project
string

Project ID for the Collection. If not provided, the Collection will be created in the default project.

Body

application/json
name
string
required

Name of the collection

type
enum<string>
required

Input type of the collection. A collection can only contain all video inputs or all photo inputs.

Available options:
photo,
video

Response

Collection created successfully

id
string<uuid>
name
string
type
enum<string>
Available options:
photo,
video
project_id
string<uuid>
inputs
string<uuid>[]

List of input IDs in the collection