action vtex_get_api_catalog_pvt_attachment_attachmentid { label: "Get attachment" description: "Gets information about a registered attachment. \n >⚠️ To understand the specific syntax for Assembly Options attachments, read the [Assembly Options](https://help.vtex.com/en/tutorial/assembly-options--5x5FhNr4f5RUGDEGWzV1nH#assembly-options-syntax) documentation. \n## Response body example \n \n```json \n{ \n \"Id\": 8, \n \"Name\": \"Test\", \n \"IsRequired\": true, \n \"IsActive\": true, \n \"Domains\": [ \n { \n \"FieldName\": \"Basic test\", \n \"MaxCaracters\": \"\", \n \"DomainValues\": \"[1-2]#9[1-1][1]basic;#11[0-1][1]basic\" \n }, \n { \n \"FieldName\": \"teste\", \n \"MaxCaracters\": \"\", \n \"DomainValues\": \"[0-10]#8[0-3][0]medium;#9[0-3][0]medium;#10[0-3][0]medium;#11[0-3][0]medium;#36[0-3][0]medium;#37[0-3][0]medium;#38[0-3][0]medium\" \n } \n ] \n} \n```" provider: vtex method: GET path: "/api/catalog/pvt/attachment/{attachmentid}" encoding: json input: { type: "object" properties: { Accept: { type: "string" } "Content-Type": { type: "string" } attachmentid: { type: "string" } } required: ["Accept", "Content-Type", "attachmentid"] additionalProperties: false } output: { type: "object" required: ["Domains", "Id", "IsActive", "IsRequired", "Name"] properties: { Domains: { type: "array" description: "List of characteristics related to the attachment." items: { type: "object" properties: { DomainValues: { type: "string" description: "Allowed key values." } FieldName: { type: "string" description: "Attachment key name." } MaxCaracters: { type: "string" description: "Maximum number of characters in the attachment key." } } } } Id: { type: "integer" description: "Attachment ID." } IsActive: { type: "boolean" description: "Defines if the attachment is active or not." } IsRequired: { type: "boolean" description: "Defines if the attachment is required or not." } Name: { type: "string" description: "Attachment Name." } } } }