Create Attachments
Create Attachments in any supported Ticketing software
Query parameters
Set to true to include data from the original Ticketing software.
Headers
The connection token
Request body
Example request
{
"file_name": "features_planning.pdf",
"file_url": "https://example.com/features_planning.pdf",
"uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
}
}Response
Example response
{
"file_name": "features_planning.pdf",
"file_url": "https://example.com/features_planning.pdf",
"uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"remote_id": "id_1",
"remote_data": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"created_at": "2024-10-01T12:00:00Z",
"modified_at": "2024-10-01T12:00:00Z"
}Changes
Changed in 5 of the 18 revisions of this API.4220
- ○
the request property
field_mappingsbecame optionalrequest-property-became-optional
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
comment_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
created_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
field_mappingsbecame nullable for the status201response-property-became-nullable
- ▲
the response property
file_namebecame nullable for the status201response-property-became-nullable
- ▲
the response property
file_urlbecame nullable for the status201response-property-became-nullable
- ▲
the response property
idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
modified_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_databecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
ticket_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
uploaderbecame nullable for the status201response-property-became-nullable
- ▲
the response property
created_atbecame optional for the status201response-property-became-optional
- ▲
the response property
field_mappingsbecame optional for the status201response-property-became-optional
- ▲
the response property
modified_atbecame optional for the status201response-property-became-optional
- ▲
the response property
remote_databecame optional for the status201response-property-became-optional
- ▲
the
created_atresponse's property type/format changed fromobject/tostring/date-timefor status201response-property-type-changed
- ▲
the
modified_atresponse's property type/format changed fromobject/tostring/date-timefor status201response-property-type-changed
- ○
the endpoint scheme security
bearerwas removed from the APIapi-security-removed
- ○
the request property
comment_idbecame nullablerequest-property-became-nullable
- ○
the request property
field_mappingsbecame nullablerequest-property-became-nullable
- ○
the request property
file_namebecame nullablerequest-property-became-nullable
- ○
the request property
file_urlbecame nullablerequest-property-became-nullable
- ○
the request property
ticket_idbecame nullablerequest-property-became-nullable
- ○
the request property
uploaderbecame nullablerequest-property-became-nullable
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the request property
comment_idbecame not nullablerequest-property-became-not-nullable
- ▲
the request property
field_mappingsbecame not nullablerequest-property-became-not-nullable
- ▲
the request property
file_namebecame not nullablerequest-property-became-not-nullable
- ▲
the request property
file_urlbecame not nullablerequest-property-became-not-nullable
- ▲
the request property
ticket_idbecame not nullablerequest-property-became-not-nullable
- ▲
the request property
uploaderbecame not nullablerequest-property-became-not-nullable
- ▲
the
created_atresponse's property type/format changed fromstring/date-timetoobject/for status201response-property-type-changed
- ▲
the
modified_atresponse's property type/format changed fromstring/date-timetoobject/for status201response-property-type-changed
- ○
the endpoint scheme security
bearerwas added to the APIapi-security-added
- ○
the response property
created_atbecame required for the status201response-property-became-required
- ○
the response property
field_mappingsbecame required for the status201response-property-became-required
- ○
the response property
modified_atbecame required for the status201response-property-became-required
- ○
the response property
remote_databecame required for the status201response-property-became-required
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
comment_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
created_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
field_mappingsbecame nullable for the status201response-property-became-nullable
- ▲
the response property
file_namebecame nullable for the status201response-property-became-nullable
- ▲
the response property
file_urlbecame nullable for the status201response-property-became-nullable
- ▲
the response property
idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
modified_atbecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_databecame nullable for the status201response-property-became-nullable
- ▲
the response property
remote_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
ticket_idbecame nullable for the status201response-property-became-nullable
- ▲
the response property
uploaderbecame nullable for the status201response-property-became-nullable
- ▲
the response property
created_atbecame optional for the status201response-property-became-optional
- ▲
the response property
field_mappingsbecame optional for the status201response-property-became-optional
- ▲
the response property
modified_atbecame optional for the status201response-property-became-optional
- ▲
the response property
remote_databecame optional for the status201response-property-became-optional
- ▲
the
created_atresponse's property type/format changed fromobject/tostring/date-timefor status201response-property-type-changed
- ▲
the
modified_atresponse's property type/format changed fromobject/tostring/date-timefor status201response-property-type-changed
- ○
the request property
comment_idbecame nullablerequest-property-became-nullable
- ○
the request property
field_mappingsbecame nullablerequest-property-became-nullable
- ○
the request property
file_namebecame nullablerequest-property-became-nullable
- ○
the request property
file_urlbecame nullablerequest-property-became-nullable
- ○
the request property
ticket_idbecame nullablerequest-property-became-nullable
- ○
the request property
uploaderbecame nullablerequest-property-became-nullable
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the endpoint scheme security
bearerwas removed from the APIapi-security-removed
- ○