This is the fallback destination an inbound call will be transferred to if:
assistantId is not setsquadId is not setassistant-request message to the serverUrl failsIf this is not set and above conditions are met, the inbound call is hung up with an error message.
This is the hooks that will be used for incoming calls to this phone number.
This is the flag to toggle the E164 check for the number field. This is an advanced property which should be used if you know your use case requires it.
Use cases:
false: To allow non-E164 numbers like +001234567890, 1234, or abc. This is useful for dialing out to non-E164 numbers on your SIP trunks.true (default): To allow only E164 numbers like +14155551234. This is standard for PSTN calls.If false, the number is still required to only contain alphanumeric characters (regex: /^\+?[a-zA-Z0-9]+$/).
@default true (E164 check is enabled)
This is the name of the phone number. This is just for your own reference.
40This is the assistant that will be used for incoming calls to this phone number.
If neither assistantId, squadId nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is the workflow that will be used for incoming calls to this phone number.
If neither assistantId, squadId, nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is the squad that will be used for incoming calls to this phone number.
If neither assistantId, squadId, nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is where cozmox will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.
The order of precedence is:
This is the number of the customer.
3 - 40This is the credential of your own SIP trunk or Carrier (type byo-sip-trunk) which can be used to make calls to this phone number.
You can add the SIP trunk or Carrier credential in the Provider Credentials page on the Dashboard to get the credentialId.
This is to bring your own phone numbers from your own SIP trunks or Carriers.
byo-phone-number This is the unique identifier for the phone number.
This is the unique identifier for the org that this phone number belongs to.
This is the ISO 8601 date-time string of when the phone number was created.
This is the ISO 8601 date-time string of when the phone number was last updated.
This is the credential of your own SIP trunk or Carrier (type byo-sip-trunk) which can be used to make calls to this phone number.
You can add the SIP trunk or Carrier credential in the Provider Credentials page on the Dashboard to get the credentialId.
This is the fallback destination an inbound call will be transferred to if:
assistantId is not setsquadId is not setassistant-request message to the serverUrl failsIf this is not set and above conditions are met, the inbound call is hung up with an error message.
This is the hooks that will be used for incoming calls to this phone number.
This is the flag to toggle the E164 check for the number field. This is an advanced property which should be used if you know your use case requires it.
Use cases:
false: To allow non-E164 numbers like +001234567890, 1234, or abc. This is useful for dialing out to non-E164 numbers on your SIP trunks.true (default): To allow only E164 numbers like +14155551234. This is standard for PSTN calls.If false, the number is still required to only contain alphanumeric characters (regex: /^\+?[a-zA-Z0-9]+$/).
@default true (E164 check is enabled)
This is the status of the phone number.
active, activating, blocked This is the name of the phone number. This is just for your own reference.
40This is the assistant that will be used for incoming calls to this phone number.
If neither assistantId, squadId nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is the workflow that will be used for incoming calls to this phone number.
If neither assistantId, squadId, nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is the squad that will be used for incoming calls to this phone number.
If neither assistantId, squadId, nor workflowId is set, assistant-request will be sent to your Server URL. Check ServerMessage and ServerMessageResponse for the shape of the message and response that is expected.
This is where cozmox will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.
The order of precedence is:
This is the number of the customer.
3 - 40