CTM OAuth Web Flow URL
ctm_voiceai_auth_urlGenerates the OAuth2 authorization URL for CallTrackingMetrics web login. Open it in a browser to get a ?code, then exchange that code to complete authentication.
Instructions
Builds the OAuth2 authorization URL for the web flow. Open it in a browser; CTM redirects to your redirect_uri with a ?code=. Then call ctm_voiceai_auth_exchange with that code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"redirect_uri": "<redirect_uri>"
},
"name": "ctm_voiceai_auth_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Defaults to the configured scope. | |
| state | No | ||
| redirect_uri | Yes | The registered redirect URI for the OAuth app. |