Skip to main content
POST
Create a gallery

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Body

application/json
name
string
required
Maximum string length: 255
Example:

"Home carousel"

slug
string

Optional explicit slug. Omit to auto-derive from name. On collision the server appends -2, -3, … to find a free slug.

Pattern: ^[a-z0-9][a-z0-9-]{0,254}$
Example:

"home-carousel"

items
object[]
Maximum array length: 200

Response

Created

data
object