Skip to main content
POST
Upload an attachment

Permissions

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

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Body

multipart/form-data
file
file
required

Response

Successful Response

attachment_id
string
required
name
string
required
url
string
required