CM.com · Schema
Notification Instruction
This sends the instruction to make and outbound call and send a notification.
CompanyCPaaSMessagingSMSVoicePaymentsVerificationTicketing
Properties
| Name | Type | Description |
|---|---|---|
| instruction-id | stringnull | Optional string that allows you to uniquely identify the placed outbound call. Its value is also included in the callback and Call Detail Records (CDRs). |
| callee | stringnull | The number to dial. When the number is invalid, the request will be rejected. Must be in valid international E.164 format. |
| callees | arraynull | List of multiple numbers to dial. When the list contains one or more invalid numbers, the request will be rejected. Must be in valid international E.164 format. |
| caller | string | The caller ID to display on the recipient's phone. Must be in valid international E.164 format. |
| anonymous | boolean | Indicates whether the caller ID should be hidden. Defaults to `false`. |
| callback-url | stringnull | URL that will be called when the call is finished. The body of this POST request will contain details about the call or calls. |
| max-ringing-timeout | integernull | Determines how long the Voice API will wait for the callee to answer the call. Cancels the ringing call after the timeout period exceeded. Defaults to `60`. |
| prompt | string | The prompt to play. This can be either TTS or SSML, or the path to an audio file in your Voice Audio Manager. |
| prompt-type | object | |
| voice | object | |
| voicemail-response | object | |
| max-replays | integernull | The number of times the Notification can be replayed. |
| auto-replay | booleannull | Whether to automatically replay the Notification. Defaults to `false`. |
| replay-prompt | stringnull | Optional prompt instructing the callee to press 1 to replay the Notification. This can be either TTS or SSML, or the path to an audio file in your Voice Audio Manager. |
| replay-prompt-type | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-notification-instruction-schema.json",
"title": "Notification Instruction",
"description": "This sends the instruction to make and outbound call and send a notification.",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cm-com-voice-voice-api-v2-openapi.yml#/components/schemas/NotificationInstruction",
"required": [
"caller",
"prompt"
],
"type": "object",
"properties": {
"instruction-id": {
"maxLength": 64,
"type": [
"string",
"null"
],
"description": "Optional string that allows you to uniquely identify the placed outbound call. Its value is also included\r\nin the callback and Call Detail Records (CDRs)."
},
"callee": {
"maxLength": 24,
"pattern": "^(\\+|00)?[1-9]\\d{6,14}$",
"type": [
"string",
"null"
],
"description": "The number to dial. When the number is invalid, the request will be rejected. Must be in valid international\r\nE.164 format."
},
"callees": {
"pattern": "^(\\+|00)?[1-9]\\d{6,14}$",
"maxItems": 100,
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "List of multiple numbers to dial. When the list contains one or more invalid numbers, the request will be\r\nrejected. Must be in valid international E.164 format."
},
"caller": {
"maxLength": 24,
"minLength": 1,
"pattern": "^(\\+|00)?[1-9]\\d{6,14}$",
"type": "string",
"description": "The caller ID to display on the recipient's phone. Must be in valid international E.164 format."
},
"anonymous": {
"type": "boolean",
"description": "Indicates whether the caller ID should be hidden. Defaults to `false`."
},
"callback-url": {
"type": [
"string",
"null"
],
"description": "URL that will be called when the call is finished. The body of this POST request will contain details about\r\nthe call or calls.",
"format": "uri"
},
"max-ringing-timeout": {
"maximum": 60,
"minimum": 10,
"type": [
"integer",
"null"
],
"description": "Determines how long the Voice API will wait for the callee to answer the call. Cancels the ringing call\r\nafter the timeout period exceeded. Defaults to `60`.",
"format": "int32"
},
"prompt": {
"maxLength": 750,
"minLength": 1,
"type": "string",
"description": "The prompt to play. This can be either TTS or SSML, or the path to an audio file in your Voice Audio Manager."
},
"prompt-type": {
"$ref": "#/$defs/PromptType"
},
"voice": {
"$ref": "#/$defs/Voice"
},
"voicemail-response": {
"$ref": "#/$defs/VoicemailResponse"
},
"max-replays": {
"maximum": 3,
"minimum": 0,
"type": [
"integer",
"null"
],
"description": "The number of times the Notification can be replayed.",
"format": "int32"
},
"auto-replay": {
"type": [
"boolean",
"null"
],
"description": "Whether to automatically replay the Notification. Defaults to `false`."
},
"replay-prompt": {
"maxLength": 750,
"type": [
"string",
"null"
],
"description": "Optional prompt instructing the callee to press 1 to replay the Notification. This can be either TTS or\r\nSSML, or the path to an audio file in your Voice Audio Manager."
},
"replay-prompt-type": {
"$ref": "#/$defs/PromptType"
}
},
"additionalProperties": false,
"$defs": {
"Gender": {
"title": "Gender",
"enum": [
"Male",
"Female"
],
"type": "string",
"description": "Genders supported by TTS."
},
"PromptType": {
"title": "Prompt Type",
"enum": [
"File",
"TTS",
"TTS_SSML"
],
"type": "string",
"description": "The type of the prompt, to distinguish between a filename and a string that needs to be tts-ed."
},
"Voice": {
"title": "Voice",
"required": [
"gender",
"language",
"number"
],
"type": "object",
"properties": {
"language": {
"maxLength": 6,
"minLength": 5,
"pattern": "^[a-zA-Z]{2,3}-[a-zA-Z]{2,3}$",
"type": "string",
"description": "The language (5 character locale) of the voice to use. Examples: en-US, en-GB, nl-NL. Defaults to en-GB"
},
"gender": {
"$ref": "#/$defs/Gender"
},
"number": {
"maximum": 2147483647,
"minimum": 1,
"type": "integer",
"description": "Usually `1`, but if the selected language and gender support multiple voices, you can use this to make\r\na selection between the different ones. To see the available voices, please see the\r\n<a href=\"/voice/tts/supported-languages\">TTS voices documentation</a>.",
"format": "int32"
},
"volume": {
"maximum": 4,
"minimum": -4,
"type": "integer",
"description": "The volume level of the voice. Must be a value between -4 and 4. Defaults to 0.",
"format": "int32"
},
"premium": {
"type": "boolean",
"description": "Whether to use a premium text-to-speech voice. Please be aware that additional costs will be charged for the\r\nuse of premium voices. Defaults to `false`."
}
},
"additionalProperties": false,
"description": "The properties in this class are used to select the required TTS voice."
},
"VoicemailResponse": {
"title": "Voicemail Response",
"enum": [
"Ignore",
"Restart",
"Stop",
"Disconnect"
],
"type": "string",
"description": "The type that determines the flow of Voicemail detection."
}
}
}
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/cm-com-notification-instruction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.