Sign in

Upload attachment

documented

Upload a new attachment.

POST /attachmentAttachmentno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.servicetrade.com/api/attachment" \
  -X POST \
  -H "Accept: application/json" \
  -H "Cookie: PHPSESSID={{SERVICETRADE_AUTH_TOKEN}}" \
  -F "purposeId={{$purposeId}}" \
  -F "entityType={{$entityType}}" \
  -F "entityId={{$entityId}}" \
  -F "description={{$description}}" \
  -F "uploadedFile=@{{$uploadedFile}};type={{$mimeType}}"
Upload attachment · ServiceTrade · OpenIntegrations