Internal Contacts
Get Account Federation
Returns information on a federation and associated accounts.
get/restapi/v1.0/account/{accountId}/directory/federation
Request
- Base URLhttps://platform.ringcentral.com
- AuthOAuth 2Authorization codehttps://platform.ringcentral.com/restapi/oauth/authorizeToken URLhttps://platform.ringcentral.com/restapi/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Query parameters
types'All' | 'Regular' | 'AdminOnly'
Federation types for search
Filter by federation types. Default is Regular
Headers
RCExtensionIdstring
RingCentral extension id
Response
List of found federations. Records array can be empty if no data found
Example response
{
"accounts": [
{
"mainNumber": {
"formattedPhoneNumber": "+1 (205) 6812029",
"phoneNumber": "+12056812029",
"type": "VoiceFax",
"label": "Boss",
"usageType": "DirectNumber"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.