{"method":"GET","path":"https://api.revcent.com/v2/ai_voice_calls/{ai_voice_call_id}","summary":"Get An AI Voice Call","description":"Retrieve the details of a specific AI Voice Call. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/GetAIVoiceCall.md for an in-depth overview of this operation.","operationId":"GetAIVoiceCall","parameters":[{"in":"path","name":"ai_voice_call_id","description":"The AI Voice Call ID.","required":true,"schema":{"type":"string","title":"AI Voice Call ID","description":"A 20 character AI Voice Call ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"allOf":[{"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":"The API call response code, 1 = Success","type":"integer","enum":[1]}},"title":"APICallResponseInfo","type":"object","additionalProperties":false},{"type":"object","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"type":"string","title":"AI Voice Call ID","description":"A 20 character AI Voice Call ID.","minLength":20,"maxLength":20},"ai_model":{"type":"string","description":"The AI model associated with the call."},"ai_source":{"type":"string","description":"The AI source associated with the call."},"ai_source_session_id":{"type":"string","description":"The AI source session ID associated with the call."},"call_duration_ms":{"description":"The total call duration in milliseconds.","type":"integer"},"call_method":{"type":"string","description":"The call method, either inbound or outbound.","enum":["inbound","outbound"]},"call_source":{"type":"string","description":"The call source, i.e. the voice provider."},"call_source_account_id":{"type":"string","description":"The call source account ID."},"call_source_call_id":{"type":"string","description":"The call source call ID specific to the call."},"call_source_number":{"type":"string","description":"The call source number."},"call_source_session_id":{"type":"string","description":"The call source session ID specific to the call."},"from":{"type":"string","description":"The call From number."},"to":{"type":"string","description":"The call To number."},"customer":{"type":"object","description":"If a customer is associated with a voice call, the customer information will be provided.","additionalProperties":false,"properties":{"address_line_1":{"type":"string","description":"The customer first address line."},"address_line_2":{"type":"string","description":"The customer second address line."},"blocked":{"type":"boolean","description":"Whether the customer is blocked."},"city":{"type":"string","description":"The customer city."},"company":{"type":"string","description":"The customer company."},"country":{"type":"string","description":"The customer country in three letter ISO 3166-1 alpha-3 format."},"email":{"type":"string","format":"email","description":"The customer email."},"first_name":{"type":"string","description":"The customer first name."},"internal_id":{"type":"string","description":"An internal ID given by the user for the customer."},"last_name":{"type":"string","description":"The customer last name."},"phone":{"type":"string","description":"The customer phone."},"state":{"type":"string","description":"The customer state."},"zip":{"type":"string","description":"The customer ZIP and or postal code."},"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"title":"Customer ID","type":"string","description":"A 20 character customer ID.","minLength":20,"maxLength":20},"enabled":{"type":"boolean","description":"Whether the customer is enabled."},"metadata":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string","description":"A name paired to the value for the metadata object. Limited to 100 characters in length.","minLength":1,"maxLength":100},"value":{"type":"string","description":"A value paired to the name for the metadata object. Limited to 255 characters in length.","minLength":1,"maxLength":255}},"type":"object","required":["name","value"]},"type":"array","description":"An array of metadata objects, each metadata object being a name and value pair."},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}},"source_type":{"type":"string","description":"If the call was associated with a specific item.","enum":["item"]},"item_type":{"type":"string","description":"If the call was associated with a specific item, the item type.","enum":["sale","customer","product_sale","shipping","subscription","subscription_renewal","salvage_transaction","transaction","chargeback","fraud_detection"]},"item_id":{"type":"string","description":"If the call was associated with a specific item, the ID of the item corresponding to the item_type.","minLength":20,"maxLength":20},"status":{"type":"string","description":"The current AI Voice Call status.","enum":["Active","Complete","Timer","Cancelled","Error"]},"trigger":{"additionalProperties":false,"properties":{"source":{"type":"string","description":"The source that triggered the AI voice calls' creation.","enum":["api","account_event","inbound_call"]},"notation":{"type":"string","description":"If the source is 'account_event', the account event notation indicating the event that triggered the call."},"api_call":{"additionalProperties":false,"properties":{"id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_account":{"type":"object","additionalProperties":false,"description":"The API account associated with the API call.","properties":{"id":{"type":"string","description":"A 20 character API account ID.","minLength":20,"maxLength":20},"name":{"description":"The API account name.","type":"string"}}}},"type":"object","description":"If the source is 'api', the API call that triggered the call."}},"type":"object","description":"Information on what triggered the AI Voice Call and thus it's creation."},"third_party_integration_ai":{"title":"Third Party Integration","type":"object","additionalProperties":false,"description":"The third party AI integration related to the item.","properties":{"id":{"type":"string","description":"A 20 character user third party integration ID.","minLength":20,"maxLength":20},"name":{"title":"User Integration Name","type":"string","description":"The user named third party integration."},"third_party":{"type":"object","description":"Site third party integration, related to the user third party integration.","additionalProperties":false,"properties":{"id":{"type":"string","description":"A 20 character system third party integration ID.","minLength":20,"maxLength":20},"name":{"title":"Site Third Party Integration Name","type":"string","description":"The RevCent named site third party integration."}}}}},"third_party_integration_voice":{"title":"Third Party Integration","type":"object","additionalProperties":false,"description":"The third party voice integration related to the item.","properties":{"id":{"type":"string","description":"A 20 character user third party integration ID.","minLength":20,"maxLength":20},"name":{"title":"User Integration Name","type":"string","description":"The user named third party integration."},"third_party":{"type":"object","description":"Site third party integration, related to the user third party integration.","additionalProperties":false,"properties":{"id":{"type":"string","description":"A 20 character user third party integration ID.","minLength":20,"maxLength":20},"name":{"title":"Site Third Party Integration Name","type":"string","description":"The RevCent named site third party integration."}}}}},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}}]}}},"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."}}}