facetoe / zenpy

Python wrapper for the Zendesk API
GNU General Public License v3.0
339 stars 163 forks source link

Support for setting email_ccs in tickets #465

Open matus-tomlein opened 3 years ago

matus-tomlein commented 3 years ago

I wasn't able to find support for setting the email_ccs attribute when creating new tickets. Could this be added to Zenpy?

Here is an example of the attribute:

{
  "ticket": {
    "email_ccs": [
      { "user_id": "562624", "action": "put" },
      { "user_id": "243642": "action": "delete" },
      { "user_email": "else@example.com", "user_name": "Someone Else", "action": "put"}
    ]
  }
}

The email_ccs attribute is described in the Zendesk API documentation here: https://developer.zendesk.com/rest_api/docs/support/tickets#setting-email-ccs

gutdraw commented 3 years ago

plus 1 for this being useful enhancement however collaborators properties of ticket at creation appears supported which will place a CC i think. https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#list-collaborators-for-a-ticket

tomerbsentinel commented 1 year ago

There was an update to the link @matus-tomlein provided. setting-email-ccs