# Get Driver Config

{% hint style="info" %}
**Note:**

* For APIs used for Shop, the API key is: [`<api_key>`](https://docs.etelecom.vn/api-etelecom-english/api-integration/shop/account). The base\_url information of the [Shop](https://docs.etelecom.vn/api-etelecom-english/api-integration/shop/account).
* For APIs used for Partner, the API key is: [`<shop_key>`](https://docs.etelecom.vn/api-etelecom-english/partner/usage#retrieve-the-shop_key-information). The base\_url information of the [Partner](https://docs.etelecom.vn/api-etelecom-english/api-integration/partner/account).
  {% endhint %}

{% openapi src="<https://1712041776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzzTMjVbVjwTuSbEGC7Ya%2Fuploads%2FWUFJEkkaHbapFqmvlAg4%2FEtelecom.swagger.json?alt=media&token=3bf6fc05-db9d-47eb-a46e-a57b6619adbb>" path="$BASE\_URL.ETelecom/GetDriverConfig" method="post" %}
[Etelecom.swagger.json](https://1712041776-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzzTMjVbVjwTuSbEGC7Ya%2Fuploads%2FWUFJEkkaHbapFqmvlAg4%2FEtelecom.swagger.json?alt=media\&token=3bf6fc05-db9d-47eb-a46e-a57b6619adbb)
{% endopenapi %}

**Request:**

```
curl --location '$BASE_URL.Etelecom/GetDriverConfig' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API-KEY' \
--data '{}'
```

**Response:**

```
{
  "connection_id": "string",
  "push_head": "string",
  "push_id": "string",
  "sip_domain": "string",
  "sip_port": 0,
  "transport": "string",
  "version": "string",
  "websocket_url": "string"
}
```

**Return data attribute structure:**

| Parameters     | Data type | Describe                    |
| -------------- | --------- | --------------------------- |
| connection\_id | string    | Session ID                  |
| push\_head     | string    | Push notification method    |
| push\_id       | string    | Push notification ID        |
| sip\_domain    | string    | Switchboard domain          |
| sip\_port      | int       | Switchboard port            |
| transport      | string    | Connection port information |
| version        | string    | Switchboard version         |
| websocket\_url | string    | Websocket connection link   |
