/boards/:boardId/share-links
Changed onCreate the share link for a board.
Any field not listed in the request body is ignored. Send an empty object to create a link with the default settings. A new link is active unless you send active: false.
password, expiresAt, requireAccount, comments and customFields depend on your workspace's plan; see the request body for what returns 422.
Settings you leave out follow your workspace's share link defaults. If your workspace hasn't saved share link defaults and a board above this one already has a share link, the new link takes what visitors can do and the password from the share link of the highest such board. A password you send replaces the one it would take, and password: null creates the link with no password. Check hasPassword in the response.
Returns 403 if the link's settings, including the ones it takes from your workspace defaults or a board above, would let visitors do something you can't do yourself.
A board has at most one share link. Returns 409 Conflict if it already has one, even a disabled one. Use GET /v1/boards/{boardId}/share-links to find it, and PATCH to change it.
Requires the share_links.write and boards.read OAuth scopes.
Request
- Base URLapi.air.inc (relative, and the document’s source URL is not known)
- Auth
- API key in header x-api-key and API key in header x-air-workspace-id
- or HTTP bearer and API key in header x-air-workspace-id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Share link created successfully
Changes
- info
endpoint added
- info