# Targeting Attachments

TargetingAttachments

 - [GET /attachments](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/list-attachments.md): Get a list of attachments. Attachments can be queried and sorted by fields: - `id` , - `target_id` , - `strategy_id` , - `restriction` , - `operator` , - `created_on` , - `updated_on` , - `version` ,
 - [POST /attachments](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/create-attachment.md): Create an attachment
 - [GET /attachment](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/list-attachments-legacy.md): Get a list of attachments
 - [POST /attachment](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/create-attachment-legacy.md): Create an attachment
 - [GET /attachments/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/get-attachment.md): Get an attachment by ID
 - [POST /attachments/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/update-attachment.md): Update an attachment by ID
 - [DELETE /attachments/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/delete-attachment.md): Delete an attachment by ID
 - [GET /attachment/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/get-attachment-legacy.md): Get an attachment by ID
 - [PUT /attachment/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/update-attachment-legacy.md): Update an attachment by ID
 - [DELETE /attachment/{attachment_id}](https://apidocs.mediamath.com/apis/campaigns-api/openapi/targeting-attachments/delete-attachment-legacy.md): Delete an attachment by ID
