Skip to main content
POST
Create a folder
POST /v1/folder requires Folders: Write (link_groups.create). The API key determines the workspace.
name is required. Optional fields are description, alias, domain_id, active, rotator, password, activates_at, expires_at, utm, allow_search_engine_indexing, geo_rules, device_rules, platform_rules, exp_clicks_rule, tag_ids, and pixel_ids. Resource references use biq_dom_, biq_tag_, and biq_pxl_ public IDs from this workspace. Alias rules and workspace plan restrictions also apply. Using domain_id, tag_ids, or pixel_ids additionally requires custom_domains.view, tags.view, or tracking_pixels.view, respectively. The response is 201 Created with { "folder": { ... }, "status": "success" }. The folder has a biq_fld_... ID and includes its short URL, configuration, public attachment IDs, link/click counts, and timestamps. Passwords are never returned; has_password reports whether one is configured. Duplicate names return 409 folder_name_taken; an occupied alias returns 409 alias_taken. Unknown fields return 422 validation_error.

Shared API behavior

Authentication is workspace-scoped; see Authentication. Errors use the standard envelope and request IDs described in Errors, and requests are subject to Rate limits.

Authorizations

Authorization
string
header
required

A workspace API key beginning with biqli_.

Body

application/json
name
string
required
Required string length: 3 - 250
description
string | null
Maximum string length: 250
alias
string | null
domain_id
string | null
Pattern: ^biq_dom_[0-9A-HJKMNP-TV-Z]{26}$
active
boolean
rotator
boolean
password
string | null
Maximum string length: 250
activates_at
string<date-time> | null
expires_at
string<date-time> | null
utm
string | null
Maximum string length: 2000
allow_search_engine_indexing
boolean
geo_rules
object[]
Maximum array length: 100
device_rules
object[]
Maximum array length: 100
platform_rules
object[]
Maximum array length: 100
exp_clicks_rule
null | object
tag_ids
string[]
Maximum array length: 100
pixel_ids
string[]
Maximum array length: 100

Response

Folder created.

folder
object
required
status
string
required
Allowed value: "success"