Phone types
Type definitions referenced by Phone queries and mutations.
AgentConfig
Section titled “AgentConfig”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
name |
String! |
— |
persona |
String! |
— |
faqs |
JSON! |
FAQ list: [{question, answer}]. |
messageFields |
JSON! |
Fields the agent collects when taking a message. |
createdAt |
String! |
— |
updatedAt |
String! |
— |
AvailableNumber
Section titled “AvailableNumber”Object.
| Field | Type | Description |
|---|---|---|
e164 |
String! |
— |
friendlyName |
String! |
— |
locality |
String |
— |
region |
String |
— |
country |
String! |
— |
capabilities |
JSON! |
— |
monthlyRentalMinor |
Int! |
— |
currency |
String! |
— |
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
number |
PhoneNumber! |
— |
direction |
String! |
— |
fromAddress |
String! |
— |
toAddress |
String! |
— |
status |
String! |
— |
disposition |
String |
— |
durationSeconds |
Int! |
— |
recordingUrl |
String |
— |
transcription |
String |
— |
createdAt |
String! |
— |
CallConnection
Section titled “CallConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[CallEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
CallEdge
Section titled “CallEdge”Object.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
— |
node |
Call! |
— |
CallFilter
Section titled “CallFilter”Input object.
| Field | Type | Description |
|---|---|---|
numberUuid |
ID |
— |
direction |
String |
— |
disposition |
String |
— |
search |
String |
Substring match against from/to addresses. |
contactE164 |
String |
Exact remote party: the caller on inbound calls, the callee on outbound. |
CallFlow
Section titled “CallFlow”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
name |
String! |
— |
version |
Int! |
— |
steps |
JSON! |
Ordered step definitions (see phone/AGENTS.md for step shapes). |
createdAt |
String! |
— |
updatedAt |
String! |
— |
ContactNumber
Section titled “ContactNumber”Object. An outside number with its call/SMS activity rollup.
| Field | Type | Description |
|---|---|---|
e164 |
String! |
— |
lastActivityAt |
String! |
— |
lastDirection |
String! |
inbound | outbound |
lastChannel |
String! |
call | sms |
callCount |
Int! |
— |
missedCount |
Int! |
— |
messageCount |
Int! |
— |
HandoffRule
Section titled “HandoffRule”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
numberUuid |
ID! |
— |
trigger |
String! |
missed_call | voicemail | offhours_sms |
emailRecipients |
[String!]! |
— |
createTicket |
Boolean! |
— |
messageTemplate |
String |
— |
active |
Boolean! |
— |
createdAt |
String! |
— |
updatedAt |
String! |
— |
Health
Section titled “Health”Object.
| Field | Type | Description |
|---|---|---|
ok |
Boolean! |
— |
service |
String! |
— |
Scalar. The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Scalar. Arbitrary JSON payload (pass-through scalar).
MessageFilter
Section titled “MessageFilter”Input object.
| Field | Type | Description |
|---|---|---|
numberUuid |
ID |
— |
contactE164 |
String |
— |
unreadOnly |
Boolean |
— |
MessageThread
Section titled “MessageThread”Object.
| Field | Type | Description |
|---|---|---|
number |
PhoneNumber! |
— |
contactE164 |
String! |
— |
lastMessage |
SmsMessage! |
— |
unreadCount |
Int! |
— |
NumberType
Section titled “NumberType”Enum.
| Value | Description |
|---|---|
LOCAL |
— |
TOLLFREE |
— |
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
endCursor |
String |
— |
PhoneNumber
Section titled “PhoneNumber”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
e164 |
String! |
— |
friendlyName |
String! |
— |
capabilities |
JSON! |
Carrier capabilities, e.g. {voice: true, sms: true, mms: true}. |
assigneeIds |
[ID!]! |
Auth user uuids this number rings for. |
activeCallFlow |
CallFlow |
— |
status |
String! |
— |
monthlyRentalMinor |
Int! |
— |
currency |
String! |
— |
createdAt |
String! |
— |
updatedAt |
String! |
— |
PurchaseNumberInput
Section titled “PurchaseNumberInput”Input object.
| Field | Type | Description |
|---|---|---|
e164 |
String! |
— |
friendlyName |
String |
— |
RegisterVoipEndpointInput
Section titled “RegisterVoipEndpointInput”Input object.
| Field | Type | Description |
|---|---|---|
kind |
String! |
browser | sip |
label |
String! |
— |
SaveAgentConfigInput
Section titled “SaveAgentConfigInput”Input object.
| Field | Type | Description |
|---|---|---|
uuid |
ID |
— |
name |
String! |
— |
persona |
String! |
— |
faqs |
JSON |
— |
messageFields |
JSON |
— |
SaveCallFlowInput
Section titled “SaveCallFlowInput”Input object.
| Field | Type | Description |
|---|---|---|
uuid |
ID |
Omit to create; provide to update (bumps version). |
name |
String! |
— |
steps |
JSON! |
— |
SaveHandoffRuleInput
Section titled “SaveHandoffRuleInput”Input object.
| Field | Type | Description |
|---|---|---|
uuid |
ID |
— |
numberUuid |
ID! |
— |
trigger |
String! |
— |
emailRecipients |
[String!] |
— |
createTicket |
Boolean |
— |
messageTemplate |
String |
— |
active |
Boolean |
— |
SendMessageInput
Section titled “SendMessageInput”Input object.
| Field | Type | Description |
|---|---|---|
numberUuid |
ID! |
— |
to |
String! |
— |
body |
String! |
— |
mediaUrls |
[String!] |
— |
SmsMessage
Section titled “SmsMessage”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
number |
PhoneNumber! |
— |
direction |
String! |
— |
contactE164 |
String! |
— |
body |
String! |
— |
mediaUrls |
[String!]! |
— |
status |
String! |
— |
isRead |
Boolean! |
— |
createdAt |
String! |
— |
SmsMessageConnection
Section titled “SmsMessageConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[SmsMessageEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
SmsMessageEdge
Section titled “SmsMessageEdge”Object.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
— |
node |
SmsMessage! |
— |
SortDirection
Section titled “SortDirection”Enum. Sort direction for list queries.
| Value | Description |
|---|---|
ASC |
— |
DESC |
— |
SortInput
Section titled “SortInput”Input object. Generic sort specifier: a whitelisted field name plus a direction.
| Field | Type | Description |
|---|---|---|
field |
String! |
— |
direction |
SortDirection! |
— |
String
Section titled “String”Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
UpdateNumberInput
Section titled “UpdateNumberInput”Input object.
| Field | Type | Description |
|---|---|---|
friendlyName |
String |
— |
assigneeIds |
[ID!] |
— |
Voicemail
Section titled “Voicemail”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
call |
Call! |
— |
recordingUrl |
String! |
— |
durationSeconds |
Int! |
— |
transcription |
String |
— |
isRead |
Boolean! |
— |
handoffState |
String! |
— |
createdAt |
String! |
— |
VoicemailConnection
Section titled “VoicemailConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[VoicemailEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
VoicemailEdge
Section titled “VoicemailEdge”Object.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
— |
node |
Voicemail! |
— |
VoicemailFilter
Section titled “VoicemailFilter”Input object.
| Field | Type | Description |
|---|---|---|
numberUuid |
ID |
— |
unreadOnly |
Boolean |
— |
contactE164 |
String |
Exact caller E.164. |
VoiceToken
Section titled “VoiceToken”Object.
| Field | Type | Description |
|---|---|---|
token |
String! |
— |
identity |
String! |
— |
expiresAt |
String! |
RFC3339 expiry. |
VoipEndpoint
Section titled “VoipEndpoint”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
kind |
String! |
— |
label |
String! |
— |
sipDomain |
String |
— |
sipUsername |
String |
— |
ringEnabled |
Boolean! |
— |
createdAt |
String! |
— |
VoipEndpointRegistration
Section titled “VoipEndpointRegistration”Object.
| Field | Type | Description |
|---|---|---|
endpoint |
VoipEndpoint! |
— |
sipPassword |
String |
Set only for kind=sip, and only in this response — never stored. |