Create a scorecard attachment upload link
POST/v1/scorecards/:id/attachment_uploads
Creates a single-use link, valid for 15 minutes, to upload a file to a scorecard's feedback or to one of its open questions. POST the file to upload_url as multipart/form-data in a file field.
Request
Responses
- 201
- 401
- 403
- 404
- 422
Upload link created
Missing or invalid bearer token.
The public API is not enabled for this account (err_feature_not_enabled), the acting user is not allowed to edit this scorecard, or the API key lacks the scorecards:write scope (err_insufficient_scope). Also returned when the candidate's consent blocks processing (err_consent_processing_blocked).
Scorecard not found (err_scorecard_not_found).
Validation failed. Error codes:
err_question_not_found—questionnames a question this scorecard doesn't haveerr_question_type_not_allowed_for_attachment— the question isn't anopen_questionerr_on_behalf_of_not_allowed— a personal access token passed another user's IDerr_user_not_found—on_behalf_ofis not an active user in the accounterr_on_behalf_of_forbidden— that user is not allowed to perform this action