# api-voiso Documentation > Documentation for api-voiso ## API Reference: API documentation - [Introduction](https://developers.voiso.com/reference/api-documentation-introduction.md) - [Base URL](https://developers.voiso.com/reference/base-url.md) - [Authentication](https://developers.voiso.com/reference/authentication.md) - [Error codes](https://developers.voiso.com/reference/error-codes.md) - [Downloading the Voiso API YAML file](https://developers.voiso.com/reference/downloading-the-contact-center-api-yaml-file.md): Easily access and integrate the full Voiso API specification with your tools and workflows. - [Migrating to v4](https://developers.voiso.com/reference/migrating-to-v4.md): Migrate from API v1/v2/v3 to v4 ## API Reference: Voiso API - Voice - [Start call](https://developers.voiso.com/reference/startcall.md): Initiate calls for agents from external systems. - [Stop call](https://developers.voiso.com/reference/stopcall.md): End calls for agents from external systems. - Routing - [Get queues](https://developers.voiso.com/reference/getqueues.md): Returns a paginated list of all routing queues. - [Get queue](https://developers.voiso.com/reference/getqueue.md): Returns detailed information about a specific queue. - [Get users assigned to a queue](https://developers.voiso.com/reference/getqueueusers.md): Returns the list of users who are assigned to the specified queue. - [Get supervisors for a queue](https://developers.voiso.com/reference/getqueuesupervisors.md): Returns a list of supervisors assigned to the specified queue. - [Get list of skills](https://developers.voiso.com/reference/getskills.md): Returns a paginated list of skills. - [Get skill](https://developers.voiso.com/reference/getskill.md): Returns detailed information about a specific skill. - [Get list of flows](https://developers.voiso.com/reference/getflows.md): Returns a paginated list of the flows of the contact center, of every type, without flow templates. Only available if contact settings and the flow builder are enabled for the contact center.… - Users - [Get list of users](https://developers.voiso.com/reference/getusers.md): Returns a paginated list of all users in the contact center. - [Get user](https://developers.voiso.com/reference/getuser.md): Returns detailed information about a specific user. - [Get list of deleted users](https://developers.voiso.com/reference/getdeletedusers.md): Returns a paginated list of all deleted users. - [Get deleted user](https://developers.voiso.com/reference/getdeleteduser.md): Returns detailed information about a specific deleted user. - [Get list of teams](https://developers.voiso.com/reference/getteams.md): Returns a paginated list of all teams. - [Get team](https://developers.voiso.com/reference/getteam.md): Returns detailed information about a specific team. - [Get users assigned to a team](https://developers.voiso.com/reference/getteamusers.md): Returns the list of users who are assigned to the specified team. - [Get supervisors assigned to a team](https://developers.voiso.com/reference/getteamsupervisors.md): Returns the list of supervisors assigned to the specified team. - [Get list of security access groups](https://developers.voiso.com/reference/getsecurityaccessgroups.md): Returns a paginated list of the security access groups a user of the contact center can be assigned: the groups of the contact center plus the default ones shared by every contact center. Only… - Numbers - [Get purchased phone numbers](https://developers.voiso.com/reference/getnumbers.md): Returns a list of all purchased phone numbers. - [Get phone number](https://developers.voiso.com/reference/getnumber.md): Returns detailed information about a specific phone number. - [Get caller ID groups](https://developers.voiso.com/reference/getcalleridgroups.md): Returns a paginated list of all caller ID groups. - [Get caller ID group](https://developers.voiso.com/reference/getcalleridgroup.md): Returns detailed information about a specific caller ID group. - [Create Caller ID Risk Check](https://developers.voiso.com/reference/createriskcheck.md): Starts a Caller ID Risk Check of 1 to 1,000 phone numbers, purchased in the contact center or not. The contact center is charged for every number checked. Processing is asynchronous: the endpoint… - [Get Caller ID Risk Checks](https://developers.voiso.com/reference/getriskchecks.md): Returns a paginated list of every Caller ID Risk Check of the contact center, ordered from newest to oldest: checks started in the contact center, through the API and by scheduled reports. Each run… - [Get Caller ID Risk Check](https://developers.voiso.com/reference/getriskcheck.md): Returns a Caller ID Risk Check by ID. Poll it until `status` is `finished`; `flagged_numbers` and `countries` are filled at that point. Available only if Caller ID Risk Check and its API access are… - [Get Caller ID Risk Check results](https://developers.voiso.com/reference/getriskcheckresults.md): Returns a paginated list of the per-number results of a Caller ID Risk Check. Results are available once the check is `finished`. Available only if Caller ID Risk Check and its API access are… - [Create Scheduled risk check](https://developers.voiso.com/reference/createriskcheckscheduledreport.md): Creates a Scheduled risk check, returned as `scheduled_report`: a Caller ID Risk Check of the given phone numbers that runs daily, weekly or monthly at `time` in the contact center time zone. Every… - [Get Scheduled risk checks](https://developers.voiso.com/reference/getriskcheckscheduledreports.md): Returns a paginated list of the active Scheduled risk checks created through the API, ordered from newest to oldest. Available only if Scheduled risk check and Caller ID Risk Check API access are… - [Get Scheduled risk check](https://developers.voiso.com/reference/getriskcheckscheduledreport.md): Returns a Scheduled risk check created through the API by ID. Available only if Scheduled risk check and Caller ID Risk Check API access are enabled for the contact center. Requires an API key with… - [Partially update Scheduled risk check](https://developers.voiso.com/reference/patchriskcheckscheduledreport.md): Partially updates a Scheduled risk check created through the API. Only provided fields are updated; `phone_numbers` replaces the whole list. Available only if Scheduled risk check and Caller ID Risk… - [Delete Scheduled risk check](https://developers.voiso.com/reference/deleteriskcheckscheduledreport.md): Archives a Scheduled risk check created through the API: it stops running and leaves the list. Its past runs stay listed by Get Caller ID Risk Checks (`GET /api/v4/numbers/risk_checks`). Available… - Tasks - [Create scheduled callback](https://developers.voiso.com/reference/createscheduledcallback.md): Books a callback for a chosen time, to one agent or to a queue. Send exactly one of `user_id` and `queue_id`. **To an agent.** With `user_id`, this books an Agent callback. Requires the… - [List scheduled callbacks](https://developers.voiso.com/reference/listscheduledcallbacks.md): Returns a paginated list of all callbacks of the Callcenter, of all three types, ordered from newest to oldest. Requires the `tasks.scheduled_callbacks.read` scope. The list works with "Enable agent… - [Get scheduled callback](https://developers.voiso.com/reference/getscheduledcallback.md): Returns a callback of any of the three types by ID. Requires the `tasks.scheduled_callbacks.read` scope. Works with "Enable agent callback" on or off in System settings. - [List webhooks](https://developers.voiso.com/reference/listwebhooks.md): Returns a paginated list of webhooks. - [Get webhook](https://developers.voiso.com/reference/getwebhook.md): Returns a webhook by ID. - [List webhook failures](https://developers.voiso.com/reference/listwebhookfailures.md): Returns a paginated list of webhook failures, ordered from newest to oldest. - [Get webhook failure](https://developers.voiso.com/reference/getwebhookfailure.md): Returns a webhook failure by ID. - [Retrigger webhook failure](https://developers.voiso.com/reference/retriggerwebhookfailure.md): Re-enqueues a failed webhook delivery for another attempt. - [Get job](https://developers.voiso.com/reference/getjob.md): Returns detailed information about a specific job. The `result` field contains `null` until the job status is completed; its structure depends on the job type. - [Update scheduled callback](https://developers.voiso.com/reference/updatescheduledcallback.md): Changes a planned Agent callback or a waiting API queue callback. Only provided fields are changed. **Agent callback.** Changes the time, the time zone, the note or the Caller ID group. Requires the… - [Cancel scheduled callback](https://developers.voiso.com/reference/cancelscheduledcallback.md): Cancels a planned Agent callback or a waiting API queue callback: it does not ring, and the list and the callback details show it with status `cancelled`. Answers with the cancelled callback. An… - Messaging - [Get list of channel profiles](https://developers.voiso.com/reference/getchannelprofiles.md): Returns a paginated list of all channel profiles. - [Get channel profile](https://developers.voiso.com/reference/getchannelprofile.md): Returns detailed information about a specific channel profile. - [Get list of canned messages](https://developers.voiso.com/reference/getcannedmessages.md): Returns a paginated list of all canned messages. - [Get canned message](https://developers.voiso.com/reference/getcannedmessage.md): Returns detailed information about a specific canned message. - [Get list of WhatsApp templates](https://developers.voiso.com/reference/getwhatsapptemplates.md): Returns a paginated list of all WhatsApp templates. - [Get WhatsApp template](https://developers.voiso.com/reference/getwhatsapptemplate.md): Returns detailed information about a specific WhatsApp template. - [Get list of conversations](https://developers.voiso.com/reference/getconversations.md): Returns a paginated list of conversations, ordered from newest to oldest. - [Get conversation](https://developers.voiso.com/reference/getconversation.md): Returns detailed information about a specific conversation. - [Get list of conversation messages](https://developers.voiso.com/reference/getconversationmessages.md): Returns a paginated list of all messages in a conversation. - [Get conversation message](https://developers.voiso.com/reference/getconversationmessage.md): Returns detailed information about a specific message in a conversation. - [Create conversation](https://developers.voiso.com/reference/createconversation.md): Initiate a new conversation for WhatsApp channels. - [Create message](https://developers.voiso.com/reference/createmessage.md): Send a message in an existing conversation. A `canned_message` is sent as `text`, with each `{{name}}` placeholder replaced by `params.name`. The canned message must be enabled for the… - [Send SMS](https://developers.voiso.com/reference/createsms.md): Send an outbound SMS message with a text body or a canned message template. With `user_id`, the SMS is sent on behalf of that user and shows the user as its agent in CDRs. The request returns `422`… - [Create conversations in bulk](https://developers.voiso.com/reference/createbulkconversations.md): Initiate conversations with a WhatsApp template message for up to 500 recipients. Processing is asynchronous: the endpoint returns a job that can be polled for per-recipient results. Request-level… - Reporting - [Get list of CDRs](https://developers.voiso.com/reference/getcdrs.md): Returns a paginated list of Call Detail Records (CDRs). Use the cursor returned in metadata.next_cursor to continue fetching records beyond the first 10000 results. When cursor is not provided,… - [Get CDR](https://developers.voiso.com/reference/getcdr.md): Returns detailed information about a specific Call Detail Record (CDR). - [Get CDR events](https://developers.voiso.com/reference/getcdrevents.md): Returns paginated list of events for a specific CDR. - [Get CDR speech analytics](https://developers.voiso.com/reference/getcdrspeechanalytics.md): Retrieve speech analytics data for a specific CDR, including transcription, summary, and score. Supports multiple output formats: - `.json` - JSON format - `.vtt` - WebVTT subtitle format - `.srt` -… - Billing - [Get balance](https://developers.voiso.com/reference/getbalance.md): Obtain balance owed to Voiso for contact center services. - [Get list of number charges](https://developers.voiso.com/reference/getbillingnumbercharges.md): Returns a paginated list of the charges for the phone numbers of the contact center, one transaction per number charge, including the charges of deleted numbers. Transactions are sorted by… - Campaigns - [Get list of campaigns](https://developers.voiso.com/reference/getcampaigns.md): Returns a paginated list of all dialer campaigns. - [Get campaign](https://developers.voiso.com/reference/getcampaign.md): Retrieve detailed information about a specific dialer campaign. - [Get users assigned to a campaign](https://developers.voiso.com/reference/getcampaignusers.md): Retrieve the list of users who are assigned to the specified campaign. - [Create campaign](https://developers.voiso.com/reference/createcampaign.md): Creates a new outbound dialer campaign. - [Partially update campaign](https://developers.voiso.com/reference/patchcampaign.md): Partially updates a campaign. Cannot update campaigns with status `stopped` or `completed`. Only provided fields are updated. - [Start campaign](https://developers.voiso.com/reference/startcampaign.md): Starts the specified dialer campaign. - [Stop campaign](https://developers.voiso.com/reference/stopcampaign.md): Stops the specified dialer campaign. - [Pause campaign](https://developers.voiso.com/reference/pausecampaign.md): Pauses the specified dialer campaign. - [Add leads to a campaign](https://developers.voiso.com/reference/addleads.md): Adds leads to the specified campaign. - [Update campaign leads](https://developers.voiso.com/reference/updateleads.md): Updates leads in the specified campaign. Each lead is identified by either `phone_number` or `campaign_lead_id`. - [Add users to a campaign](https://developers.voiso.com/reference/addcampaignusers.md): Assigns users to the specified campaign. A user still held by an assigned team stays team-assigned and leaves with the team. A user left in the campaign by a team that is no longer assigned becomes… - [Remove user from a campaign](https://developers.voiso.com/reference/removecampaignuser.md): Unassigns a user from the specified campaign. A user who is in the campaign only through an assigned team cannot be removed: unassign the team instead. - [Get campaign lead statuses](https://developers.voiso.com/reference/getleadstatuses.md): Returns status information for campaign leads. A request takes exactly one of `phone_number` or `campaign_lead_id`. Both or neither return `400` with the `base` message `must contain exactly one of:… - [List campaign leads](https://developers.voiso.com/reference/getcampaignleads.md): Returns the campaign leads of the specified campaign, deactivated ones included, in ascending `id` order. Use `metadata.next_cursor` to fetch the next page; it is `null` on the last page.… - [Get teams assigned to a campaign](https://developers.voiso.com/reference/getcampaignteams.md): Retrieve the list of teams assigned to the specified campaign. - [Assign teams to a campaign](https://developers.voiso.com/reference/assigncampaignteams.md): Assigns teams to the specified campaign. The agents of an assigned team join the campaign, and later team membership changes reach the campaign. The campaign users list answers with those agents from… - [Unassign team from a campaign](https://developers.voiso.com/reference/unassigncampaignteam.md): Unassigns a team from the specified campaign. Agents who are in the campaign only through this team leave it with the response; individually assigned agents stay. - Contact Center - [Get list of wrapup codes](https://developers.voiso.com/reference/getwrapupcodes.md): Returns a paginated list of all wrapup codes in the contact center. - [Get wrapup code details](https://developers.voiso.com/reference/getwrapupcode.md): Returns detailed information about a specific wrapup code. - [Get list of wrapup code groups](https://developers.voiso.com/reference/getwrapupcodegroups.md): Returns a paginated list of all wrapup code groups in the contact center. - [Get wrapup code group details](https://developers.voiso.com/reference/getwrapupcodegroup.md): Returns detailed information about a specific wrapup code group. - Contact Center - [Get list of music on hold classes](https://developers.voiso.com/reference/getmusiconhold.md): Returns a paginated list of the music on hold classes of the contact center plus the default ones shared by every contact center. Only available if contact settings are enabled for the contact… - [Get list of voice messages](https://developers.voiso.com/reference/getvoicemessages.md): Returns a paginated list of the voice messages of the contact center plus the default ones shared by every contact center. Only available if contact settings are enabled for the contact center.… - [Get list of ringtones](https://developers.voiso.com/reference/getringtones.md): Returns a paginated list of the ringtones of the contact center. Only available if contact settings are enabled for the contact center. Requires the `contact_center.media.read` scope. - [Get list of interaction context mappings](https://developers.voiso.com/reference/getinteractioncontextmappings.md): Returns a paginated list of the interaction context mappings of the contact center, oldest first. Requires the `contact_center.interaction_context_mappings.read` scope. - [Create interaction context mapping](https://developers.voiso.com/reference/createinteractioncontextmapping.md): Creates an interaction context mapping, returned as `interaction_context_mapping`, with the same rules as the Interaction context mapping page of the contact center. - `imported` (default): values… - [Get interaction context mapping details](https://developers.voiso.com/reference/getinteractioncontextmapping.md): Returns an interaction context mapping of the contact center by ID. Requires the `contact_center.interaction_context_mappings.read` scope. - [Partially update interaction context mapping](https://developers.voiso.com/reference/patchinteractioncontextmapping.md): Partially updates an interaction context mapping, with the same rules as Create interaction context mapping. Only provided fields are updated; the rest keep their stored values. `sources`, when… - [Delete interaction context mapping](https://developers.voiso.com/reference/deleteinteractioncontextmapping.md): Deletes an interaction context mapping. Voiso AI agents it is assigned to are updated without it; when the AI agent service fails, the API answers `502` and deletes nothing. Requires the… - [Get interaction context mapping usages](https://developers.voiso.com/reference/getinteractioncontextmappingusages.md): Returns the Voiso AI agents and automations that use an interaction context mapping. Check it before deleting the mapping: after the delete, they keep referring to a variable that no longer exists.… ## API Reference: Webhooks - [Webhooks overview](https://developers.voiso.com/reference/webhooks-overview.md): Webhooks facilitate real-time communication between websites or applications by allowing one application to send HTTP requests, including payload data, to another application when a predefined event… - [Agent Activity](https://developers.voiso.com/reference/agent-activity.md) - [Agent status events](https://developers.voiso.com/reference/agentstatusupdate.md): The Agent Status events are triggered whenever an agent's activity status changes. - [Call event webhooks](https://developers.voiso.com/reference/call-event-webhooks.md) - [Outbound call events](https://developers.voiso.com/reference/outbound-call-events.md): The outbound webhooks are triggered when a manually dialed or click-to-call voice call event occurs. - [Inbound call events](https://developers.voiso.com/reference/inbound-call-events.md): The inbound webhooks are triggered when an inbound call event occurs. - [Dialer call events](https://developers.voiso.com/reference/dialer-call-events.md): The dialer webhooks are triggered when a Dialer campaign call event occurs. - [Dialer numbers](https://developers.voiso.com/reference/dialer-numbers.md) - [Dialer numbers events](https://developers.voiso.com/reference/dialer-numbers-events.md): The dialer numbers webhook is triggered when a numbers deactivation of a live Dialer campaign runs. - [Call recording](https://developers.voiso.com/reference/call-recording.md) - [Call recording events](https://developers.voiso.com/reference/call-recording-events.md): The call recording webhooks are triggered when a call recording event occurs. - [Digital interaction webhooks](https://developers.voiso.com/reference/digital-interaction-webhooks.md) - [Digital interaction events](https://developers.voiso.com/reference/digital-interaction-events.md): The digital interaction webhooks are triggered when a message or conversation event occurs. - [Speech Analytics](https://developers.voiso.com/reference/speech-analytics.md) - [Speech Analytics events](https://developers.voiso.com/reference/speech-analytics-events.md): The Speech Analytics webhooks are triggered when a Speech Analytics event occurs. - [Call Notify (deprecated)](https://developers.voiso.com/reference/call-notify-deprecated.md) - [Call Notify](https://developers.voiso.com/reference/call-notify.md): The Call Notify webhook sends a message from your contact center to the CRM to enable the CRM to open the contact information page. - [Call Outcome Logging (deprecated)](https://developers.voiso.com/reference/call-outcome-logging-deprecated.md) - [Call outcome logging](https://developers.voiso.com/reference/call-outcome-logging.md): When a call is completed, your contact center sends call data to the CRM. ## API Reference: Data transfer services - [Raw Data Streaming to SQS](https://developers.voiso.com/reference/raw-data-streaming-to-sqs.md): Your contact center provides raw data streaming from the Call Details Record (CDR) webpage to Amazon’s Simple Queue Service (AWS SQS) for client-end processing. - [Security Log Streaming to SQS](https://developers.voiso.com/reference/security-log-streaming-to-sqs.md): Your contact center provides a security event streaming pre-built integration to Amazon Web Services' Simple Queue Service (SQS) for client-end processing. - [Call Recordings Replication to S3](https://developers.voiso.com/reference/call-recordings-replication-to-s3.md): Your contact center allows Professional Plan or higher customers to stream call recordings to an Amazon S3 bucket. Contact your account manager to determine which AWS regions are available for…