Gamma API
ProjectsAttachments

Get a form attachment download URL

GET
/api/projects/{projectId}/forms/{formId}/attachments/{attachmentId}/url

Valid for 15 minutes. 409 when the storage it is in is disconnected.

Who may call it: Anyone on the project whose permission profile allows form.read. API keys: yes, given form.read for this project.

Authorization

cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

formId*string
attachmentId*string

Response Body

OK.

application/json
  1. response
url*string

A presigned URL; valid for minutes, not to be stored.

Formaturi
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/forms/string/attachments/string/url'
Example Response
{  "url": "http://example.com"}