import Tabs from @theme/Tabs; import TabItem from @theme/TabItem; SignalWire CXML is a set of actions defined in an XML document you can use to tell SignalWire what to do when you receive an incoming call or instructions for outbound calls. When a call is made to one of your SignalWire phone numbers, SignalWire looks up the SignalWire CXML document from the URL you configured and reads the instructions you provided to determine what to do. SignalWire CXML allows you to dynamically control what happens, responding with specific instructions based on the caller, time of day, incoming call, and much more. :::info Not making a call? Check out [Messaging XML](../messaging/index.mdx) for more details. ::: ### Request for XML SignalWire makes an HTTP request to your configured endpoint just like a regular web form submission (POST) or page load (GET). The request includes contextual information about the call, allowing you to respond dynamically and fluidly to the call to meet the needs of your application. You can configure the endpoint URL and HTTP Method in your phone number settings panel on your SignalWire Dashboard, or via the REST API. ### Request Parameters SignalWire sends the following parameters, as either URL query parameters or POST parameters, to your endpoint when it receives a call: | Parameter | Type | Description | |-:|--|-| | CallSid | string | A unique identifier for the call. | | AccountSid | string | The unique ID of the Account this call is associated with. | | From | string | The phone number that sent this call, in E.164 format. | | To | string | The phone number of the call recipient, in E.164 format. | | CallStatus | string | The status of the call. Can be one of the following values: ringing, in-progress, queued, failed, busy, no-answer, or completed. | | ApiVersion | string | The version of the SignalWire API. Incoming calls use the API version placed on the number called. Outgoing calls use the version of the REST API request. | | Direction | string | An identifier to describe the direction of the call:
**outbound-dial:** calls launched through the
**outbound-api:** calls launched through the REST API
**inbound:** for inbound calls | | ParentCallSid | string | A unique identifier for the call that created this call. | #### CallStatus Values The following are the possible **CallStatus** parameter values. These are also used in