Retrieves the user registration Information for the user ID.
HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/connector.extension.getRegistrationInfoByUserId | yes |
{% hint style="info" %}
Permission required: view-agent-extension-association
{% endhint %}
Key | Example Value | Description |
---|---|---|
id * | ByehQjC44FwMeiLbX | The user ID whose registration is being retrieved. |
{% code overflow="wrap" %}
curl --location --request GET 'localhost:3000/api/v1/connector.extension.getRegistrationInfoByUserId'?id=CkCPNcvsvCDfmWLqC' \
--header 'X-Auth-Token: xS8jnLS2YzVy-_w8T_S0WnQm5SnADjACa7gbXmcOcLY' \
--header 'X-User-Id: 6vHSSqdBHdm2R4gfi'
{% endcode %}
{
"host": "omni-asterisk.dev.rocket.chat",
"callServerConfig":{
"websocketPort": "443",
"websocketPath": "wss://omni-asterisk.dev.rocket.chat/ws"
},
"extensionDetails":{
"extension": "12342",
"password": "my$up3erP@ssw0rd",
"authtype": "password",
"state": "Not in use"
}
}