| Requires any of the roles: | SystemAdministrator, Manager, Customer |
| GET | /customers |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccountIds | query | List<string> | No | Filter by accounts |
| NameFilter | query | string | No | Filter by name |
| ParentCustomerIds | query | List<string> | No | The IDs of the parent customers you want to filter by |
| ShallowParent | query | bool | No | If you want a shall parent customer filter (e.g. no deep children) |
| TagIds | query | List<string> | No | The list of tag IDs to filter by (must contain all) |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Page | form | int | No | The page of data to retrieve |
| All | form | bool | No | If you want all objects to be returned. This should be used with care |
| CountPerPage | form | int | No | The number per page to retrieve |
| SpecificIds | form | List<string> | No | Specific IDs |
| SortField | form | string | No | Specify a sort field |
| SortOrder | form | SortOrders | No | Specify a sort order |
| SimplifiedPaging | form | bool | No | Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array |
| Ascend | |
| Descend |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccountId | form | string | No | The ID of the account associated with this customer |
| ParentCustomerId | form | string | No | The parent customer ID for this customer |
| Breadcrumb | form | List<CustomerBreadcrumb> | No | The breadcrumb to this customer |
| AccountName | form | string | No | The name of the account associated with this customer |
| IsStaging | form | bool | No | Is this customer staging or production? |
| Name | form | string | No | The name of the company |
| ReferenceId | form | string | No | The reference ID for this company |
| Data | form | Struct | No | This customer's data values |
| Tags | form | List<Tag> | No | The list of tags for this customer |
| Schedule | form | Schedule | No | This customer's schedule |
| IntegrationData | form | EntityIntegrationData | No | Integration data for this customer |
| OverrideBillingSettings | form | bool | No | Override this customer's billing settings? Otherwise inherits from parent |
| BillingSettings | form | BillingSettings | No | Billing settings for this customer |
| OverrideAppSettings | form | bool | No | Should this customer override the parent customer's app settings |
| AppSettings | form | AppSettings | No | App / Portal settings for this customer |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | The ID of the object |
| DateCreated | form | string | No | The date the object was created |
| DateLastModified | form | string | No | The date the object was last modified |
| CreatedBy | form | string | No | The user that created this object |
| LastModifiedBy | form | string | No | The user that last modified this object |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Name | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BoolValue | form | bool? | No | |
| StringValue | form | string | No | |
| NumberValue | form | double? | No | |
| ListValue | form | List<Struct> | No | |
| StructValue | form | Struct | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Name | form | string | No | |
| Color | form | TagColors | No |
| Magenta | |
| Red | |
| Volcano | |
| Orange | |
| Gold | |
| Lime | |
| Green | |
| Cyan | |
| Blue | |
| GeekBlue | |
| Purple |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TimeZoneId | form | string | No | |
| Inherit | form | bool | No | |
| ForceClosed | form | bool | No | |
| Rules | form | List<SchedulingRule> | No | |
| DefaultState | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Name | form | string | No | |
| Priority | form | int | No | |
| State | form | string | No | |
| Source | form | string | No | |
| Condition | form | string | No | |
| SimpleRuleType | form | SimpleSchedulingRuleTypes | No | |
| CustomerState | form | string | No | |
| FlowId | form | string | No | |
| FlowParams | form | Struct | No | |
| IsAllDay | form | bool | No | |
| StartDate | form | string | No | |
| StartTime | form | string | No | |
| EndTime | form | string | No | |
| BySetPosition | form | List<int> | No | |
| ByMonth | form | List<int> | No | |
| ByWeekNo | form | List<int> | No | |
| ByYearDay | form | List<int> | No | |
| ByMonthDay | form | List<int> | No | |
| ByDay | form | List<ScheduleDay> | No | |
| ByHour | form | List<int> | No | |
| ByMinute | form | List<int> | No | |
| Interval | form | int | No | |
| Count | form | int | No | |
| UntilDate | form | string | No | |
| Frequency | form | SchedulingRuleFrequency | No |
| Always | |
| CustomerState | |
| Time |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| DayOfWeek | form | DayOfWeek | No |
| None | |
| Secondly | |
| Minutely | |
| Hourly | |
| Daily | |
| Weekly | |
| Monthly | |
| Yearly |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ThirdPartyId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Base | form | BillingItem | No | |
| LocalNumbers | form | BillingItem | No | |
| TollFreeNumbers | form | BillingItem | No | |
| InboundVoiceCalls | form | BillingItem | No | |
| OutboundVoiceCalls | form | BillingItem | No | |
| InboundFaxes | form | BillingItem | No | |
| OutboundFaxes | form | BillingItem | No | |
| InboundSmsMessages | form | BillingItem | No | |
| OutboundSmsMessages | form | BillingItem | No | |
| AIInsights | form | BillingItem | No | |
| AILiveMinutes | form | BillingItem | No | |
| AIMessages | form | BillingItem | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BaseCost | form | double | No | |
| RawUnitMultiplier | form | double | No | |
| UnitCost | form | double | No | |
| Allowance | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EnablePhoneNumberManagement | form | bool | No | |
| EnableDeviceManagement | form | bool | No | |
| EnableDialer | form | bool | No | |
| EnableCallHistory | form | bool | No | |
| EnableAssistants | form | bool | No | |
| ShowFileNameInMessageCenter | form | bool | No | |
| ChakraTheme | form | string | No | |
| CustomCss | form | string | No | |
| PageTitle | form | string | No | |
| StringMappings | form | string | No | |
| LogoutUrl | form | string | No | |
| PortMyNumberUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<AccountInfo> | No | The items |
| TotalCount | form | int | No | The total number of items |
| TotalPages | form | int | No | The total number of pages |
| HasMorePages | form | bool | No | Are there more pages of items? Used with simplified paging |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | The name of this account |
| ParentAccountId | form | string | No | The ID of this account's parent |
| TwilioAccountSid | form | string | No | The twilio account SID |
| AncestorIds | form | List<string> | No | The ancestors of this account. Useful for breadcrumbs |
| MaxPhoneNumbers | form | int | No | The max number of phone numbers this account can have |
| IsBYOA | form | bool | No | This account is BYOA |
| TrustHubProfileSid | form | string | No | TrustHub Profile Sid |
| LogoId | form | string | No | The ID of the logo file |
| LogoUri | form | string | No | The URI of the logo file |
| BillingSettings | form | BillingSettings | No | The billing settings for this account |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers HTTP/1.1 Host: evovoice.io Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ListResponseOfCustomerInfoznfKbIMc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">
<HasMorePages>false</HasMorePages>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<d2p1:CustomerInfo>
<CreatedBy>String</CreatedBy>
<DateCreated>String</DateCreated>
<DateLastModified>String</DateLastModified>
<Id>String</Id>
<LastModifiedBy>String</LastModifiedBy>
<d2p1:AccountId>String</d2p1:AccountId>
<d2p1:AccountName>String</d2p1:AccountName>
<d2p1:AppSettings>
<d2p1:ChakraTheme>String</d2p1:ChakraTheme>
<d2p1:CustomCss>String</d2p1:CustomCss>
<d2p1:EnableAssistants>false</d2p1:EnableAssistants>
<d2p1:EnableCallHistory>false</d2p1:EnableCallHistory>
<d2p1:EnableDeviceManagement>false</d2p1:EnableDeviceManagement>
<d2p1:EnableDialer>false</d2p1:EnableDialer>
<d2p1:EnablePhoneNumberManagement>false</d2p1:EnablePhoneNumberManagement>
<d2p1:LogoutUrl>String</d2p1:LogoutUrl>
<d2p1:PageTitle>String</d2p1:PageTitle>
<d2p1:PortMyNumberUrl>String</d2p1:PortMyNumberUrl>
<d2p1:ShowFileNameInMessageCenter>false</d2p1:ShowFileNameInMessageCenter>
<d2p1:StringMappings>String</d2p1:StringMappings>
</d2p1:AppSettings>
<d2p1:BillingSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Accounts">
<d4p1:AIInsights>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:AIInsights>
<d4p1:AILiveMinutes>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:AILiveMinutes>
<d4p1:AIMessages>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:AIMessages>
<d4p1:Base>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:Base>
<d4p1:InboundFaxes>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:InboundFaxes>
<d4p1:InboundSmsMessages>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:InboundSmsMessages>
<d4p1:InboundVoiceCalls>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:InboundVoiceCalls>
<d4p1:LocalNumbers>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:LocalNumbers>
<d4p1:OutboundFaxes>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:OutboundFaxes>
<d4p1:OutboundSmsMessages>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:OutboundSmsMessages>
<d4p1:OutboundVoiceCalls>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:OutboundVoiceCalls>
<d4p1:TollFreeNumbers>
<d4p1:Allowance>0</d4p1:Allowance>
<d4p1:BaseCost>0</d4p1:BaseCost>
<d4p1:RawUnitMultiplier>0</d4p1:RawUnitMultiplier>
<d4p1:UnitCost>0</d4p1:UnitCost>
</d4p1:TollFreeNumbers>
</d2p1:BillingSettings>
<d2p1:Breadcrumb>
<d2p1:CustomerBreadcrumb>
<d2p1:Id>String</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
</d2p1:CustomerBreadcrumb>
</d2p1:Breadcrumb>
<d2p1:Data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d2p1:IntegrationData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Integrations">
<d6p1:ThirdPartyId>String</d6p1:ThirdPartyId>
</d4p1:Value>
</d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
</d2p1:IntegrationData>
<d2p1:IsStaging>false</d2p1:IsStaging>
<d2p1:Name>String</d2p1:Name>
<d2p1:OverrideAppSettings>false</d2p1:OverrideAppSettings>
<d2p1:OverrideBillingSettings>false</d2p1:OverrideBillingSettings>
<d2p1:ParentCustomerId>String</d2p1:ParentCustomerId>
<d2p1:ReferenceId>String</d2p1:ReferenceId>
<d2p1:Schedule xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Scheduling">
<d4p1:DefaultState>String</d4p1:DefaultState>
<d4p1:ForceClosed>false</d4p1:ForceClosed>
<d4p1:Inherit>false</d4p1:Inherit>
<d4p1:Rules>
<d4p1:SchedulingRule>
<d4p1:ByDay>
<d4p1:ScheduleDay>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:Offset>0</d4p1:Offset>
</d4p1:ScheduleDay>
</d4p1:ByDay>
<d4p1:ByHour xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByHour>
<d4p1:ByMinute xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMinute>
<d4p1:ByMonth xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonth>
<d4p1:ByMonthDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonthDay>
<d4p1:BySetPosition xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:BySetPosition>
<d4p1:ByWeekNo xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByWeekNo>
<d4p1:ByYearDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByYearDay>
<d4p1:Condition>String</d4p1:Condition>
<d4p1:Count>0</d4p1:Count>
<d4p1:CustomerState>String</d4p1:CustomerState>
<d4p1:EndTime>String</d4p1:EndTime>
<d4p1:FlowId>String</d4p1:FlowId>
<d4p1:FlowParams xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d4p1:Frequency>None</d4p1:Frequency>
<d4p1:Id>String</d4p1:Id>
<d4p1:Interval>0</d4p1:Interval>
<d4p1:IsAllDay>false</d4p1:IsAllDay>
<d4p1:Name>String</d4p1:Name>
<d4p1:Priority>0</d4p1:Priority>
<d4p1:SimpleRuleType>Always</d4p1:SimpleRuleType>
<d4p1:Source>String</d4p1:Source>
<d4p1:StartDate>String</d4p1:StartDate>
<d4p1:StartTime>String</d4p1:StartTime>
<d4p1:State>String</d4p1:State>
<d4p1:UntilDate>String</d4p1:UntilDate>
</d4p1:SchedulingRule>
</d4p1:Rules>
<d4p1:TimeZoneId>String</d4p1:TimeZoneId>
</d2p1:Schedule>
<d2p1:Tags xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Settings">
<d4p1:Tag>
<d4p1:Color>Magenta</d4p1:Color>
<d4p1:Id>String</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
</d4p1:Tag>
</d2p1:Tags>
</d2p1:CustomerInfo>
</Items>
<TotalCount>0</TotalCount>
<TotalPages>0</TotalPages>
</ListResponseOfCustomerInfoznfKbIMc>