v1

latestOpenAPI 3.0.3AGPL-3.0-or-later2026-07-172717248.3 KB
share_api

Add a new share

This endpoint allows CORS requests

post/ocs/v2.php/apps/forms/api/v3/forms/{formId}/shares

Path parameters

formIdinteger required

The form to share

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

shareTypeinteger required

Nextcloud-ShareType

shareWithstring

ID of user/group/... to share with. For Empty shareWith and shareType Link, this will be set as RandomID.

permissionsstring[]

the permissions granted on the share, defaults to submit Possible values: - submit user can submit - results user can see the results - results_delete user can see and delete results

Response

the created share