{"method":"POST","path":"https://api.revcent.com/v2/ai_voice_snippets","summary":"Create An AI Voice Snippet","description":"Create an AI Voice Snippet, which will issue a unique AI Voice Snippet ID. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/CreateAIVoiceSnippet.md for an in-depth overview of this operation.","operationId":"CreateAIVoiceSnippet","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"type":"string","description":"The AI Voice Snippet name. Must contain alphabetical characters or underscores only, with a minimum length of 2 and a maximum length of 100. Cannot start or end with an underscore. Must be unique across all AI voice snippets in your account."},"description":{"type":"string","description":"The AI Voice Snippet description."},"enabled":{"type":"boolean","description":"Whether the AI Voice Snippet is enabled."},"content":{"type":"string","description":"The AI Voice snippet content, which can contain handlebars syntax."}},"required":["name","content"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"ai_voice_snippet_id":{"type":"string","title":"AI Voice Snippet ID","description":"A 20 character AI Voice Snippet ID.","minLength":20,"maxLength":20},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}