Discussions

Ask a Question

Oauth - Get Access Token has Bearer Token as a prereq.

When authenticating and trying to request a bearer token within the documentation, the sample tool on the right is asking the user to supply a bearer token (seems to defeat the point). Can this be fixed?

How do I point an auto attendant option to the company directory via the API?

The auto attendant options have very little explaination as to what each options does, and none of them seem to point to the Company Directory even though that is definitely an option via the portal.

How can I read "Custom Offline" stats for Call Center Agents?

I currently have an app that reads "Agent Availability" using the API "agentLog" object: <https://api.netsapiens.com/ns-api/?object=statistics&action=read> { domain: example.com type: agentLog start_date: 2016-08-16 00:00:00 end_date: 2016-08-17 23:00:00 group: fields: L,B,AM,AAM remove_zeros: true } Our client has added custom offline statuses to their Snap Solution. I.e. "Bathroom", "Staff Meeting", etc. Are there "fields" that I can use to access the agentLog stats for custom statuses other than the standard "fields" found in the link below? <https://api.netsapiens.com/ns-api/webroot/apidoc/#api-Call_Center_Stats-ReadAgentLog>.

V44.1 marked as Beta

Can the API documentation be updated on V44.1 from beta to stable?

V44.1 Timeframe APIs

Need API documentation on how to use TimeFrame Holidays, Custom and Recurrence.

Get Specific Domain With Billing Summary

Hi, I'm wondering the differences on domainbilling between: count_users_total and count_user_scopes_basic_users? As I am getting back 18 for count_users_total and 23 for count_user_scopes_basic_user.

Read Dialrules in a Dialplan

On this API, If I wanted to cycle through all the dial rules is there another parameter that needs to be set? I get the first 100 records it appears.
ANSWERED

Updation the phone Number

When I am trying to update the phone-number by using this endpoint https\://{my domain}/ns-api/v2/domains/{domain}/phonenumbers/{phone-number} (PUT call from postman) In response i got this and I have found nothing in docs { "code": 400, "message": "Missing Rule Id" }
ANSWERED

"Resource Not Found" when trying to get a specific domain.

I am testing out the API and have run into an error when I try to get a specific domain. I am following the steps on this page: <https://docs.ns-api.com/reference/getdomain> I am _successfully_ able to make a call to `https://ns-api.com/ns-api/v2/domains` and list all domains, but when I add my domain to the URL, I get "Resource not found." My URL looks like this: `https://ns-api.com/ns-api/v2/domains/{my_domain}`. My domain parameter that I'm providing is literally my domain name formatted as "[name] . [reseller] .com" (without the quotes).