Add Phone Number for Branded Calling
POST/v1/phone
Add a new phone number for branded calling and return all information about it.
Body
requiredA normalized phone number that consist of two parts: a country calling code and a national part separated by a forward slash.
1/6467629160The owner may state that they will never originate legitimate phone class from this number. Any calls from the number will show as 'Spoofed'.
falsedisplayobjectrequired
All data are potentially subject to being present on the phone of the end user. The exact composition and format might differ by integration (network, device, OS) and the private settings of the end user. As a consequence all data here undergoes an approval process that ensures data is valid, credible, and legally correct.
The display name of the caller.
Possible values: non-empty and <= 32 characters
Northstar CreditThe id of the logo that will be shown.
string<uuid>6f075fbb-d988-4061-a0d2-1fa04ec47361The reason of the call.
Possible values: non-empty and <= 50 characters
Customer Service agent is calling about your inquiry.Two-letter country code (ISO 3166-1 Alpha-2)
USState in countries where applicable. In case of 'US' country: two-letter state code
NYNew YorkManaged brand name for BPO partners. This field is NOT visible for most partners.
Possible values: non-empty and <= 200 characters
Managed Company LimitedsecureCallobject
Secure Branding configuration for partners who has it enabled, empty otherwise.
Is Secure Branding enabled for this number
falseResponses
- 201
- 400
- 401
- 403
- 404
- 408
- 409
- 415
- 500
Created - A new phone number has been created and returned successfully.
Response Body
A normalized phone number that consist of two parts: a country calling code and a national part separated by a forward slash.
1/6467629160The owner may state that they will never originate legitimate phone class from this number. Any calls from the number will show as 'Spoofed'.
falsedisplayobject
All data are potentially subject to being present on the phone of the end user. The exact composition and format might differ by integration (network, device, OS) and the private settings of the end user. As a consequence all data here undergoes an approval process that ensures data is valid, credible, and legally correct.
activeobject
After a successful approval of the pending display it will transition into active state and start to show on end user phones. Empty if there is no 'active' display.
The display name of the caller.
Northstar CreditThe id of the logo that will be shown.
string<uuid>6f075fbb-d988-4061-a0d2-1fa04ec47361An url stub where uploaded logo is available in multiple dimensions. Dimensions: '40x40', '64x64', '200x200' and '600x600'.
https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.pngThe reason of the call.
Customer Service agent is calling about your inquiry.Two-letter country code (ISO 3166-1 Alpha-2)
USState in countries where applicable. In case of 'US' country: two-letter state code
NYNew YorkManaged brand name for BPO partners. This field is NOT visible for most partners.
Managed Company Limitedpendingobject
Never seen before combination of display name, logo, call reason and managed brand will enter this state first. This will not display on end user's phones until approved. Empty if there is no 'pending' display data.
The display name of the caller.
Northstar CreditThe id of the logo that will be shown.
string<uuid>6f075fbb-d988-4061-a0d2-1fa04ec47361An url stub where uploaded logo is available in multiple dimensions. Dimensions: '40x40', '64x64', '200x200' and '600x600'.
https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.pngThe reason of the call.
Customer Service agent is calling about your inquiry.Two-letter country code (ISO 3166-1 Alpha-2)
USState in countries where applicable. In case of 'US' country: two-letter state code
NYNew YorkManaged brand name for BPO partners. This field is NOT visible for most partners.
Managed Company Limitedrejectedobject
There was a problem with the pending display data. Please check the returned reasons and/or contact your Hiya representative and resubmit new display data based on the feedback received. Empty if there is no 'rejected' display data.
The display name of the caller.
Northstar CreditThe id of the logo that will be shown.
string<uuid>6f075fbb-d988-4061-a0d2-1fa04ec47361An url stub where uploaded logo is available in multiple dimensions. Dimensions: '40x40', '64x64', '200x200' and '600x600'.
https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.pngThe reason of the call.
Customer Service agent is calling about your inquiry.Two-letter country code (ISO 3166-1 Alpha-2)
USState in countries where applicable. In case of 'US' country: two-letter state code
NYNew YorkManaged brand name for BPO partners. This field is NOT visible for most partners.
Managed Company LimitedA list of reasons why the submitted display data had been rejected.
string[]secureCallobject
Secure Branding configuration for partners who has it enabled, empty otherwise.
Is Secure Branding enabled for this number
falseDatetime without a time-zone in ISO-8601.
string<date-time>Example from Schema
{
"phoneNumber": "1/6467629160",
"doNotOriginate": false,
"display": {
"active": {
"displayName": "Northstar Credit",
"logoId": "6f075fbb-d988-4061-a0d2-1fa04ec47361",
"logoUrlStub": "https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.png",
"callReason": "Customer Service agent is calling about your inquiry.",
"country": "US",
"state": "NY",
"city": "New York",
"managedBrand": "Managed Company Limited"
},
"pending": {
"displayName": "Northstar Credit",
"logoId": "6f075fbb-d988-4061-a0d2-1fa04ec47361",
"logoUrlStub": "https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.png",
"callReason": "Customer Service agent is calling about your inquiry.",
"country": "US",
"state": "NY",
"city": "New York",
"managedBrand": "Managed Company Limited"
},
"rejected": {
"displayName": "Northstar Credit",
"logoId": "6f075fbb-d988-4061-a0d2-1fa04ec47361",
"logoUrlStub": "https://somedomain.net/6f075fbb-d988-4061-a0d2-1fa04ec47361_{dimensions}.png",
"callReason": "Customer Service agent is calling about your inquiry.",
"country": "US",
"state": "NY",
"city": "New York",
"managedBrand": "Managed Company Limited",
"reasons": [
"string"
]
}
},
"secureCall": {
"active": false
},
"created": "2024-07-29T15:51:28.071Z"
}
Bad Request - A required parameter is missing or has an invalid value.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Unauthorized - The API Key is invalid or missing.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Forbidden - Partner is not allowed to access resource.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Not Found - A requested resource was not found.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Request timeout - A complete request was not received by the server within its allotted timeout period. It's safe to retry.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Conflict - Resource already exists.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Unsupported Media Type - Accepted content-type is 'application/json'.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}
Internal Server Error - The server has experienced an unexpected condition and is unable to process the request.
Response Body
Array [
]
errorobject
integer<int32>errorsobject[]
Example from Schema
{
"error": {
"id": "string",
"code": 0,
"errors": [
{
"message": "string"
}
]
}
}