Discussions
DTMF Contacts for an Office.
I'm trying to add contacts through API, rather than thru the app to make it available for everyone in an office, but it doesn't accept commas. It will submit with only the number
Call Center List office_id not working
Hi!
API key and webhook
Hi team,
What is the UID for on a Contact?
In the contacts (v2) API, there is a PUT (aka "Create or Update") call which requires a UID in the body. The doc for the call describes the UID as "The unique id to be included as part of the contact's generated id." This makes it sound like the UID is not the actual ID but somehow controls the ID calculation. But in fact doing two consecutive PUTs with the same UID in the body does not update the contact created by the first call; the second call returns a contact with a new ID entirely. And using the ID of a contact in the UID of a PUT does not cause that contact to be updated, instead a new contact is created with a different ID.
Non SMS capable error
I'm receiving an error that my number is not SMS capable when it is... The number is +61485834373
How to Setup Dialpad CTI in our Zendesk Sandbox
Hi,
Target is not eligible for messaging
I am trying to send a test message using your API Reference and get the following error message:
Target is not eligible for messaging
Contacts list
How can we grab the contacts list for users? Using the API does not appear to yield all the contacts for a user that can be seen on the UI.
SMS Message ID different for inbound from outbound for same message- how to match?
Less of a technical question, more of a best practice. I have just set up an SMS webhook where I'll be logging SMS messages. I have a both directions type event so that I can see messages going to and from external numbers.
The issue I have is with duplicate logging of internal messages. I get a webhook event when User A sends the message and another when User B receives it. Before I set things up, I saw that each message had an ID, which led me to believe that I could use this to identify unique messages and avoid duplicate entries into the database. Unfortunately the same message has a different ID when it's sent to when it's received.
Obviously the situation get's worse when it's a group message.
What's the suggested approach to matching an outbound webhook SMS message event with the inbound event for the same message when there's no matching ID?
Is it to match the sender ID and message text in last 5 seconds?
Webhook secret
I have a webhook set up to send SMS messages to my application. The webhook has a secret. I'm receiving these, but they don't appear to be encoded with the secret I set up. I found a one-line PHP script online that is:
printr(json_decode(base64_decode(str_replace('', '/', str_replace('-','+',explode('.', $token)[1])))));
which outputs the decoded json message item.