Working with Resource Attachments

You can use the REST API enclosure URL keyword to add, retrieve, update, and remove attachment information for Custom Objects 1-40 resources.

Note: Only Custom Objects 1-40 are supported for attachments as a field.