Discussions
Screen Pop API 403 Error "User not in experiment screen_pop_api"
We are trying to test screen pop functionality using the API, but I am receiving the following error:
{
"error": {
"code": 403,
"errors": [
{
"domain": "global",
"message": "User ****2960 is not in experiment screen_pop_api",
"reason": "forbidden"
}
],
"message": "User \*\*\*\*2960 is not in experiment screen_pop_api"
}
}
Is this something that needs to be configured by Dialpad?
Posted by Doug Steen 1 day ago
Error when create Dialpad user in powershell
I am getting this error when trying to create a user using PowerShell.
```
Invoke-WebRequest : { "error": { "code": 400, "errors": [ { "domain": "global", "message": "Error parsing ProtoRPC request (Unable to parse request content: Message CombinedContainer is missing required field office_id)", "reason":
"badRequest" } ], "message": "Error parsing ProtoRPC request (Unable to parse request content: Message CombinedContainer is missing required field office_id)" } }
At line:9 char:13
+ $response = Invoke-WebRequest -Uri 'https://dialpad.com/api/v2/users' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
```
Here is the code that I am using with example data. If I comment out the variables, then it works. I have also tried only double quotes in the variables. I think it has something to do with that, but I have not figured it out. Has anyone else encountered this, or am I just doing this incorrectly?
```
$email = '"[email protected]"'
$firstname = '"first"'
$lastname = '"last"'
$headers=@{}
$headers.Add("accept", "application/json")
$headers.Add("content-type", "application/json")
$headers.Add("authorization", "Bearer mApTLRmyNFMyh7tERZCLasTZMBxeBDYZACd6hF5G8gdmLJjbBKN3HUphxx9NBD5qaMZdurh6Eaw2sxHyZ6NRjaYmjg9UxEEx26x4")
$response = Invoke-WebRequest -Uri 'https://dialpad.com/api/v2/users' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"auto_assign":true,"license":"talk","office_id":123456789,"email":$email,"first_name":$firstname,"last_name":$lastname}'
```
Posted by Preston Smith 8 days ago
Get call duration
Hi, I am making call using Users->Call--Initiate API but I am not getting CallId in response.
I want the call duration of this call. Is there a way other than Event subscriptions and webhook?
Posted by Aditya Sharma 9 days ago
Contact Events Subscription not receiving events
Hello,
I'd like to know why my contact event subscription webhook receives no events. I want to know whether I have misconfigured something or not. Here's my contact subscription event ID: 6082732149932032
Thank you
Posted by null 10 days ago
ACD in the Stats in the Usage Statistics Report
I believe ACD means Automated Call Distribution as I know it. But what does it mean on the Stats report? It seems to be a time length number, but records data even outside any call queue or Ai Sales Center level inbound calls. It is in some cases slightly different than minutes on the report.
Posted by Bob Cichon 14 days ago
API docs request
Do we have other docs to get and filter calls list based on phone number of participant like dialpad.com/api/call/search and get sms also?
Posted by Quang 15 days ago
api keys
I cant create the api keys I keep writing to support and no one has replied.
Posted by Marco Coronado 15 days ago
List of Duty Status Reasons for Call Center Operators
Hello!
For the, `/callcenters/operators/{id}/dutystatus` endpoint, Is there a list of the values `duty_status_reason` can return?
Is there a duty status reason that would indicate that a call center operator was set to an off duty status because of a missed call?
Thank you!
Posted by Taylor Keller 16 days ago
Account Sandbox
hello good afternoon where can i get a sanbox account?
and how can I generate an API Key follow the steps of the dashboard <https://developers.dialpad.com/docs/api-key-generation> but for some reason it doesn't show me the module "Authentication".
Posted by Damian Palomo 17 days ago
Convert inbound caller number to Name
Hi there,
I'd like to have inbound callers come up with their name rather then a number. I can setup something to ping the database on any call inbound. Is there an api endpoint that can get a call ID and disguise it as a String name instead of the number calling in?
If not, is there another method that would allow this. I've tried to add shared contacts as they call in but that doesn't seem to work if they exist and call it still comes up as a number. Also checking whether a person exists in dialpad every time they call doesn't seem viable
Posted by Sebastian Westbury-Price 22 days ago