Creating a Custom OAuth Application
Before you can create an OAuth app, there must be an existing Workspace in Cvent's Manage API Access > Workspace menu. See Establishing a Connection for instructions for creating Workspaces.
Inviting Developers
After you (or someone managing the Cvent account you want to connect to) have created a Workspace, you must invite developers to it.
- Sign into Cvent and navigate to App Switcher (the blue button in the upper right corner of the page) > Admin.
- In the Admin menu, navigate to Integrations > REST API.
- Click Manage API Access in the new tab.
- Click the Developers tab.
- Click + Invite developer. Enter the email address of the developer you want to invite to the Workspace.
- Click Save, then Close. The specified developer then receives the invite email.
Accepting a Developer Invitation
After you (or someone managing the Cvent account you want to connect to) have sent a developer invitation to your email address, accept it:
- Open the developer invite email and click View Invitation.
- Complete the signup form and click Sign Up.
- Log in with the newly created account credentials. An "Invitations" menu appears.
- Click Accept.
Creating an OAuth Application
After creating a workspace as well as sending and accepting a developer invitation, you can now create a custom OAuth application.
- Navigate to the Cvent Developer Portal's Applications page and click Create application.
- Select the Machine to Machine application type.
- Under Application name, specify a name for the application.
- Click Select scopes and select all of the scopes you want to add to your application. You are limited to the scopes allowed by the Workspace. To access all tables exposed by the cmdlet, you need to set the following scopes:
- event/attendees:read
- event/attendees:write
- event/contacts:read
- event/contacts:write
- event/custom-fields:read
- event/custom-fields:write
- event/events:read
- event/events:write
- event/sessions:delete
- event/sessions:read
- event/sessions:write
- event/speakers:delete
- event/speakers:read
- event/speakers:write
- budget/budget-items:read
- budget/budget-items:write
- exhibitor/exhibitors:read
- exhibitor/exhibitors:write
- survey/surveys:read
- survey/surveys:write
- Click Save to create the application.
- Click View Applications to return to the Applications page.
- Note the values of the Client ID and Client secret. You will use these later to authenticate to Cvent.