Discussions

Ask a Question

Operator Idle Time

On the Dialpad dashboard screens there is a column called Status showing how long an operator has been on a call or idle. Can I get this idle time from any of the API endpoints?
ANSWERED

Duplicate contacts

I'm able to create duplicate contacts with the similar data using dialpad api, how i can restrict that duplication? Also when we send an sms to a contact phone number, that phone number is belongs to 2 duplicates contacts, then which contact id will be map for that sms?

Sending a VCF file (vCard) via SMS/MMS

A VCF file is a contact card. For example, on an iPhone, you can open a contact card in the Contacts app and share it via Messages and then the recipient (iPhone, Android, or otherwise) will be able to add that contact to their own address book. The mime type is text/vcard and files sometimes have a .vcard extension rather than a .vcf extension. I was browsing the list of file types supported by MMS in Dialpad and VCF isn't one of them. I'm a little surprised. I would like to automate sending my business's vCard to people after they call the first time. That will make it more likely that they see the business name when they receive an incoming call. An example that works with Twilio's API is documented here: <https://www.twilio.com/blog/send-vcard-twilio-sms> Is there a way to do this with Dialpad's API? I currently use Make/Integromat to automate Dialpad, so my end goal will be to send the vCard using Make, but I'm fine using Python as a proof of concept. Side note: Dialpad understands what to do with vCards when they're received via a text message. The desktop app shows the fields and then offers an "Add Contact" button to add it to the address book as a new contact.

SMS API - User not found

Hello, I am a trial user who is checking SMS API to integrate with my product. I am trying to send a SMS message through the SMS API but it says: "User not found". It was difficult to find "user_id" in Admin Settings but I think I found "user_id". Actually, it was "target_id" in Admin Settings > Office > Users > EXPORT USERS LIST > Downloaded CSV file. Would you be able to let me know how to handle this situation to send SMS messages with SMS API? Regards, --------------------------------------------------------- curl --request POST \ --url https://dialpad.com/api/v2/sms \ --header 'Accept: application/json' \ --header 'Authorization: Bearer [My API Key]' \ --header 'Content-Type: application/json' \ --data ' { "infer_country_code": false, "to_numbers": [ "+15620000000" ], "text": "This is the test message!!!", "user_id": 5771160305565690 } { "error": { "code": 404, "errors": [ { "domain": "global", "message": "User 5771160305565690 not found", "reason": "notFound" } ], "message": "User 5771160305565690 not found" } }
ANSWERED

Can I set Do Not Disturb status for an agent / make an agent unavailable for calls on a department, via the call centre?

Is it possible to toggle global Do Not Disturb on and off for an agent, via the API? Alternatively, is it possible to toggle Do Not Disturb on and off for an agent in a specific department/call centre/office, via the API? The only option I can see is to make the agent active or inactive, or remove them from the office entirely and re-add them... neither option is ideal.

Do you know how can i get all the sms list from a phonenumber?

I tried to get the list of the sms with the content but I don't see any endpoint in the sms section and using stats i cannot get the records from the sms. Thank you

Unexpected behavior with SMS when user does not have a number

Our account has numbers assigned to Call Centers, but individual users do not have numbers assigned. Within the Dialpad app, these users cannot send SMS to external numbers. The app has the message: "Messages to recipients outside of your company can only be sent from a call center." This makes sense, which is why the API's behavior was unexpected. While working with the API, I was surprised that it allows requests from these users to the `/sms` endpoint, messaging external numbers. The API returns a 200, indicating that the SMS has been sent successfully, when in fact it hasn't. Is there any way for me to know that these messages have failed?

Can Salesforce send SMS automatically?

I would like a scheduled flow in Salesforce to send an appointment reminder using SMS. Is there a way to do that with our Dialpad integration?

SMS message send failture and status

Hi, Is there way to see if an SMS message was successfully sent via the API? I noticed that when you send an SMS message, you get a `"message_status": "pending"` but I wasn't sure how to check to see if it was successfully sent.