Properties
| Name | Type | Description |
|---|---|---|
| name | string | This is the name of the campaign. This is just for your own reference. |
| assistantId | string | This is the assistant ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended. |
| workflowId | string | This is the workflow ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended. |
| squadId | string | This is the squad ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended. |
| phoneNumberId | string | This is the phone number ID that will be used for the campaign calls. Can only be updated if campaign is not in progress or has ended. Note: `phoneNumberId` and `dialPlan` are mutually exclusive. |
| dialPlan | array | This is a list of dial entries, each specifying a phone number and the customers to call using that number. Can only be updated if campaign is not in progress or has ended. Note: phoneNumberId and dia |
| schedulePlan | object | This is the schedule plan for the campaign. Can only be updated if campaign is not in progress or has ended. |
| status | string | This is the status of the campaign. Can only be updated to 'ended' if you want to end the campaign. When set to 'ended', it will delete all scheduled calls. Calls in progress will be allowed to comple |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UpdateCampaignDTO",
"title": "UpdateCampaignDTO",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "This is the name of the campaign. This is just for your own reference."
},
"assistantId": {
"type": "string",
"description": "This is the assistant ID that will be used for the campaign calls.\nCan only be updated if campaign is not in progress or has ended."
},
"workflowId": {
"type": "string",
"description": "This is the workflow ID that will be used for the campaign calls.\nCan only be updated if campaign is not in progress or has ended."
},
"squadId": {
"type": "string",
"description": "This is the squad ID that will be used for the campaign calls.\nCan only be updated if campaign is not in progress or has ended."
},
"phoneNumberId": {
"type": "string",
"description": "This is the phone number ID that will be used for the campaign calls.\nCan only be updated if campaign is not in progress or has ended.\nNote: `phoneNumberId` and `dialPlan` are mutually exclusive."
},
"dialPlan": {
"description": "This is a list of dial entries, each specifying a phone number and the customers to call using that number. Can only be updated if campaign is not in progress or has ended. Note: phoneNumberId and dialPlan are mutually exclusive.",
"type": "array",
"items": {
"$ref": "#/components/schemas/DialPlanEntry"
}
},
"schedulePlan": {
"description": "This is the schedule plan for the campaign.\nCan only be updated if campaign is not in progress or has ended.",
"allOf": [
{
"$ref": "#/components/schemas/SchedulePlan"
}
]
},
"status": {
"type": "string",
"description": "This is the status of the campaign.\nCan only be updated to 'ended' if you want to end the campaign.\nWhen set to 'ended', it will delete all scheduled calls. Calls in progress will be allowed to complete.",
"enum": [
"ended"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vapi-updatecampaigndto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.