{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"You can create a new attribute for a ticket type.","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"ticket_type_id":{"type":"string","description":"The unique identifier for the ticket type which is given by Intercom."}},"required":["ticket_type_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/create_ticket_type_attribute_request","examples":[{"name":"Attribute Title","description":"Attribute Description","data_type":"string","required_to_create":false}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"create_ticket_type_attribute_request":{"description":"You can create a Ticket Type Attribute","type":"object","title":"Create Ticket Type Attribute Request Payload","properties":{"name":{"type":"string","description":"The name of the ticket type attribute","examples":["Bug Priority"]},"description":{"type":"string","description":"The description of the attribute presented to the teammate or contact","examples":["Priority level of the bug"]},"data_type":{"type":"string","description":"The data type of the attribute","enum":["string","list","integer","decimal","boolean","datetime","files"],"examples":["string"]},"required_to_create":{"type":"boolean","description":"Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.","default":false,"examples":[false]},"required_to_create_for_contacts":{"type":"boolean","description":"Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.","default":false,"examples":[false]},"visible_on_create":{"type":"boolean","description":"Whether the attribute is visible to teammates when creating a ticket in Inbox.","default":true,"examples":[true]},"visible_to_contacts":{"type":"boolean","description":"Whether the attribute is visible to contacts when creating a ticket in Messenger.","default":true,"examples":[true]},"multiline":{"type":"boolean","description":"Whether the attribute allows multiple lines of text (only applicable to string attributes)","examples":[false]},"list_items":{"type":"string","description":"A comma delimited list of items for the attribute value (only applicable to list attributes)","examples":["Low Priority,Medium Priority,High Priority"]},"allow_multiple_values":{"type":"boolean","description":"Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)","examples":[false]}},"required":["name","data_type"]}}},"name":"Create a new attribute for a ticket type","id":"intercom.createtickettypeattribute","example":{"path":{"ticket_type_id":"example"}},"maxRequests":1,"summary":false}}