According to the Platform API docs I can’t pass the channel URL and it is auto generated. In the app I am working on, we are using the javascript sdk for our react-native app and then the platform API for our backend. Generally the javascript sdk does all the work, but I need to replicate that functionality in python for a certain use case.
The javascript sdk Ticket creation looks like this:
SendBirdDesk.Ticket.create(
channelUrl, // ticket_title
userId, // user_id
teamKey, // team_key
{ channel: channelUrl, team: teamKey }, // custom fields
null, // priority
(ticket, err) => {})
Long story short, we’re doing some internal tracking of the channel URL and so we’re passing it as the custom field and the ticket title.
In the Sendbird Desk dashboard all of our javascript initiated tickets have the channel URL specified above in the custom fields + ticket title. What is actually setting the channel_url when we do it that way? And how can I duplicate that functionality with the Desk API?