Skip to main content
POST
/
v3beta1
/
organizations
/
{org_id}
/
attachments
Upload an attachment
curl --request POST \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "attachment_id": "<string>",
  "name": "<string>",
  "url": "<string>"
}

Permissions

Requires a service user with the UseDevinSessions permission at the organization level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Body

multipart/form-data
file
file
required

Response

Successful Response

attachment_id
string
required
name
string
required
url
string
required