Assessments

Share part of an assessment with an outside guest

POST
/organizations/{organizationId}/forms/submissions/{submissionId}/shares

Grants a section or the whole assessment to a guest, who signs in with an emailed passcode to answer it. Someone new to the organization gets a guest invite; an existing guest gets an email linking to the share.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
submissionId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/forms/submissions/497f6eca-6276-4993-bfeb-53cbbbba6f08/shares" \  -H "Content-Type: application/json" \  -d '{    "targetType": "section",    "email": "user@example.com"  }'
{  "id": "string",  "organizationId": "string",  "submissionId": "string",  "targetType": "section",  "targetId": "string",  "email": "string",  "status": "invited",  "invitedAt": null,  "openedAt": null,  "submittedAt": null,  "lastAccessAt": null,  "expiresAt": null,  "dateCreated": null,  "dateUpdated": null}