> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attach File To Ticket

Attach a file to a ticket.

**Note**: Halo's API documentation does not publish a request schema for this endpoint. Verify the `data_base64` field name and any file size limit against a live Halo instance before relying on this action.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Halo ITSM documentation](https://www.usehalo.com/swagger).

## Basic Parameters

| Parameter | Description |
| - | - |
| File Content | The base64-encoded content of the file to attach. |
| Filename | The name of the file to attach. |
| Ticket ID | The ID of the ticket. Can be obtained from the `List Tickets` action. |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Action ID | The ID of the ticket action to attach the file to, instead of the ticket itself. |
| Note | A note to attach to the file. |

## Example Output

```json theme={"dark"}
{
	"third_party_id": "string",
	"link": "string",
	"content_type": "string",
	"last_updated": "2026-10-22T06:41:52.087Z",
	"id": 0,
	"filename": "string",
	"datecreated": "2026-10-22T06:41:52.087Z",
	"note": "string",
	"filesize": 0,
	"type": 0,
	"unique_id": 0,
	"desc": "string",
	"isimage": true,
	"data": "string",
	"ticket_id": 0,
	"outcome_id": 0,
	"user_id": 0,
	"agent_id": 0,
	"attachmentaction_id": 0,
	"_canupdate": true,
	"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
	"image_upload_id": 0,
	"image_upload_key": "string",
	"file": "string",
	"_enduserportalpdfprint": true,
	"anon_outcomeid": 0,
	"has_scanned": true,
	"_warning": "string",
	"_is_new_version": true,
	"parent_name": "string",
	"parent_desc": "string",
	"version_count": 0,
	"_alreadyuploaded": true,
	"copy_from_id": 0,
	"new_external_link": {
		"id": 0,
		"table_id": 0,
		"module_id": 0,
		"integration_name": "string",
		"halo_id": 0,
		"third_party_id": "string",
		"third_party_desc": "string",
		"third_party_type": "string",
		"third_party_url": "string",
		"third_party_assigned_to": "string",
		"third_party_count": 0,
		"primary": true,
		"halo_desc": "string",
		"halo_second_id": 0,
		"halo_second_desc": "string",
		"extra_match_field": "string",
		"details_id": 0,
		"third_party_secondary_id": "string",
		"_warning": "string",
		"third_party_status": "string",
		"third_party_priority": "string",
		"_match": true,
		"populate_url": true,
		"date_created": "2026-10-22T06:41:52.087Z",
		"date_updated": "2026-10-22T06:41:52.087Z",
		"subscription_id": "string",
		"new_subscription_key": "string",
		"subscription_expiry": "2026-10-22T06:41:52.087Z",
		"_webhookaction": 0,
		"revisions": 0,
		"dont_move_existing_assets": true,
		"chat_message_count": 0,
		"third_party_additional_id": "string",
		"description": "string",
		"update_existing_link": true,
		"filters": [
			{
				"id": 0,
				"integration_id": 0,
				"mapping_id": 0,
				"mapping_name": "string",
				"filter_field": "string",
				"filter_type": 0,
				"filter_value": "string",
				"query_string": "string",
				"_warning": "string",
				"details_id": 0,
				"value_type": 0,
				"filter_operator": 0,
				"filter_type2": 0,
				"apply_client_side": true,
				"mapping_type": 0
			}
		],
		"parent_id": 0,
		"child_links": [
			"string"
		],
		"url_for_linked_entity": "string",
		"url_for_linked_entity_caption": "string",
		"icon_for_linked_entity_caption": "string"
	},
	"_match_thirdparty_id": "string",
	"_match_additional_id": "string",
	"_match_integration_id": 0,
	"_match_integration_name": "string",
	"import_details_id": 0,
	"external_links": [
		{
			"id": 0,
			"table_id": 0,
			"module_id": 0,
			"integration_name": "string",
			"halo_id": 0,
			"third_party_id": "string",
			"third_party_desc": "string",
			"third_party_type": "string",
			"third_party_url": "string",
			"third_party_assigned_to": "string",
			"third_party_count": 0,
			"primary": true,
			"halo_desc": "string",
			"halo_second_id": 0,
			"halo_second_desc": "string",
			"extra_match_field": "string",
			"details_id": 0,
			"third_party_secondary_id": "string",
			"_warning": "string",
			"third_party_status": "string",
			"third_party_priority": "string",
			"_match": true,
			"populate_url": true,
			"date_created": "2026-10-22T06:41:52.087Z",
			"date_updated": "2026-10-22T06:41:52.087Z",
			"subscription_id": "string",
			"new_subscription_key": "string",
			"subscription_expiry": "2026-10-22T06:41:52.087Z",
			"_webhookaction": 0,
			"revisions": 0,
			"dont_move_existing_assets": true,
			"chat_message_count": 0,
			"third_party_additional_id": "string",
			"description": "string",
			"update_existing_link": true,
			"filters": [
				{
					"id": 0,
					"integration_id": 0,
					"mapping_id": 0,
					"mapping_name": "string",
					"filter_field": "string",
					"filter_type": 0,
					"filter_value": "string",
					"query_string": "string",
					"_warning": "string",
					"details_id": 0,
					"value_type": 0,
					"filter_operator": 0,
					"filter_type2": 0,
					"apply_client_side": true,
					"mapping_type": 0
				}
			],
			"parent_id": 0,
			"child_links": [
				"string"
			],
			"url_for_linked_entity": "string",
			"url_for_linked_entity_caption": "string",
			"icon_for_linked_entity_caption": "string"
		}
	],
	"access_control": [
		{
			"id": 0,
			"entity": "string",
			"entity_id": 0,
			"type": 0,
			"agent_id": 0,
			"user_id": 0,
			"role_id": 0,
			"team_id": 0,
			"team_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
			"department_id": 0,
			"department_guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
			"name": "string",
			"level": 0,
			"_warning": "string",
			"entity_name": "string",
			"entity_text_id": "string",
			"thirdparty_relational_id": "string"
		}
	],
	"_start_transcription": true,
	"_transcription_started": true,
	"_transcription_is_new_action": true,
	"processnow": true,
	"_dont_fire_automations": true,
	"migrate_to_s3": true,
	"_isnewticket": true,
	"showforusers": true,
	"showonchild": true,
	"showonrelated": true,
	"data_base64": "string",
	"already_posted": true,
	"faultid": 0,
	"_isimport": true,
	"_importtype": "string",
	"canned_text_copy": true,
	"s3url": "string",
	"att_link": "string",
	"child_count": 0,
	"parent_id": 0,
	"linked_version_id": 0,
	"allow_anon_upload": true,
	"crmnote_id": 0,
	"tickettype_id": 0,
	"tickettype_guid": "string",
	"validate_guid": "string",
	"import_parentid": "string",
	"folder_hierarchy": "string",
	"access_control_level": 0,
	"is_s3": true,
	"field_id": 0,
	"action_id": 0,
	"doc_type": 0,
	"expiry_date": "2026-10-22T06:41:52.087Z"
}
```

## Workflow Library Example

[Attach File to Ticket with Halo Itsm and Send Results Via Email](https://library.blinkops.com/workflows/attach-file-to-ticket-with-halo-itsm-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/attach-file-to-ticket-with-halo-itsm-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/attach-file-to-ticket-with-halo-itsm-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.