Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (32 loc) · 1.46 KB

voice-channel-registration-information.md

File metadata and controls

41 lines (32 loc) · 1.46 KB

Get Voice Channel Registration Information

Retrieves the user registration Information for the user ID.

HTTP MethodURLRequires Auth
GET/api/v1/connector.extension.getRegistrationInfoByUserIdyes

{% hint style="info" %} Permission required: view-agent-extension-association {% endhint %}

Query Parameters

KeyExample ValueDescription
id*ByehQjC44FwMeiLbXThe user ID whose registration is being retrieved.

Example Call

{% 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 %}

Example Response

{
	"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"
	}
}