# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Cvent REST Authentication API version: 1.0.0 extends: openapi/cvent-event-cloud-authentication-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-09-26' generator: build-phrasing.py label: Generated by API Evangelist operations: 3 - target: $.paths['/oauth2/authorize'].get update: x-apievangelist-phrasing: intent: Start the OAuth2 authorization code flow effect: read questions: - How do I send a user to Cvent to authorize my app? - Does the redirect URI for authorization have to be HTTPS? instructions: - text: Start OAuth authorization for client {client_id} redirecting to {redirect_uri}. slots: client_id: query.client_id redirect_uri: query.redirect_uri - text: Build the authorize link with response type {response_type}, client {client_id}, redirect {redirect_uri} and scope {scope}. slots: response_type: query.response_type client_id: query.client_id redirect_uri: query.redirect_uri scope: query.scope method: generated generated: '2026-09-26' - target: $.paths['/oauth2/token'].post update: x-apievangelist-phrasing: intent: Get an access token effect: write questions: - How do I exchange an authorization code for a Cvent access token? - Can I use a refresh token to get a new access token? instructions: - text: Get an access token for client {client_id} using grant type {grant_type}. slots: client_id: requestBody.client_id grant_type: requestBody.grant_type - text: Exchange authorization code {code} for tokens for client {client_id}. slots: code: requestBody.code client_id: requestBody.client_id - text: Refresh the access token with refresh token {refresh_token}. slots: refresh_token: requestBody.refresh_token method: generated generated: '2026-09-26' - target: $.paths['/token-validation'].get update: x-apievangelist-phrasing: intent: Check whether an access token is valid effect: read questions: - Is my current access token still valid? - What's a quick way to test that my bearer token works? instructions: - text: Validate my current access token. - text: Check that the bearer token I'm using hasn't expired. method: generated generated: '2026-09-26'