Upload Attachment via GraphQL Mutation
#
This mutation allows uploading a file and attaching it to a comment on a task using the createAttachment mutation in GraphQL.
Authentication
#
Add your API key as a Bearer token in the Authorization header.
Mutation
#
Examples
#
curl
#
JavaScript (Fetch API)
#
Notes
#
- Replace
<SERVER_URL>,<API_KEY>,<TASK_ID>, and<FILE_PATH>with actual values. - Files are uploaded using the GraphQL multipart request specification .
Previous
Authentication
Next
- Queries
accessibleWorkspaces