Admin/Create Attachment
POST /v1/admin/attachments

Create Attachment

Create attachment to be used in other resources. ⚠️ Unused attachment will be destroyed in few minutes.

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X POST https://api.{cluster}.{platform}.voiger.io/v1/admin/attachments \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN"

Parameters

x-workspace-code string required in header
x-csrf-token string required in header

Response

attachment▾
object
id
string
name
string
size
number
mime_type
string
category
string