/boards/:boardId/forms/:formId/share-links

Create the share link for a content collection form

Path Params
uuid
required

the id of the board

uuid
required

the id of the form

Body Params

Settings for a content collection form's share link. Omitted settings are not changed.

password, expiresAt, and requireAccount are stored on every plan. These routes do not return 422.

allowDownload, comments, and customFields are returned from the Content Collection role. Omitting one, sending the value the response shows, or sending another accepted value succeeds. None of them change what the visitor can do.

boolean

Whether the link works. false disables the link and keeps it. A disabled link still counts as existing.

boolean

Accepted and not applied. The response value comes from the Content Collection role.

string | null

Password visitors must enter. null on PATCH removes it. Never returned. Read hasPassword instead. An empty string is 400. Not plan-gated on a form link.

date-time | null

When the link stops working. Must be in the future. null on PATCH clears it. Not plan-gated on a form link.

boolean

Whether visitors must sign in to Air. On create, omitting it uses the workspace default for form links, which can set it to true. Not plan-gated on a form link.

string
enum

Accepted and not applied. The response value comes from the Content Collection role.

Allowed:
string
enum

Accepted and not applied. The response value comes from the Content Collection role.

Allowed:
Responses

400

Invalid request body, including an empty password, a null where it is not allowed, or an expiresAt that is not in the future

403

You do not have permission to create a share link for this form

409

The form already has a share link (SHARE_LINK_ALREADY_EXISTS), including a disabled one

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json