Update attachment field
documentedUpdate card attachment-related data after upload.
POST /graphqlPipesno implementation yet0 runsNo 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.pipefy.com/graphql" \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{ "query": "mutation { createPresignedUrl(input: { organizationId: {{$organization_id}}, fileName: \"{{$attachment_filename}}\" }) { url } }" }' \
&& \
npx -y keychains@latest curl "https://api.pipefy.com/graphql" \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{ "query": "mutation { updateCardField(input: { card_id: {{$card_id}}, field_id: \"{{$attachment_field_id}}\", new_value: [\"{{$uploaded_path}}\"] }) { success } }" }'