Authenticating to the API uses a client credential model for back-end access only. A baseline level of Postman or another API tool is preferred.
You will need to retrieve information from Astra Events in order to proceed.
- Log in to Ad Astra as an Astra Admin user
- Navigate to Schedule > Events
- A new tab should open to Events Calendar
- In the bottom-left corner, click on the User menu item > Organization Settings
- Open a new tab
- Make the Untitled Request a POST call
Enter the OAuth 2.0 Access Token Request URL as the API URLOpen Astra Integration
What you will need (input these values in Steps 3, 6, and 10 below):
- OAuth 2.0 Access Token Request URL
- OAuth 2.0 Client ID
- OAuth 2.0 Secret
Enabling your bearer access token
Install Postman (if necessary)
- Open a new tab
- Make the Untitled Request a POST call
- Enter the OAuth 2.0 Access Token Request URL as the API URL
- Go to the Auth tab
- Select Basic Auth in the Auth Type dropdown
- Input the following values from above
- Username = OAuth 2.0 Client ID
- Password = OAuth 2.0 Secret
- Go to the Headers tab
- Make sure there are no custom Headers (this should only happen if you re-use a tab in Postman)
- Go to the Body tab
- Select x-www-form-urlencoded (depending on your version of Postman, this could be found in a dropdown or as a radio button selection)
- Input the following values:
- client_id = OAuth 2.0 Client ID
- grant_type = client_credentials
- scope = partner-api/activities
- Press the Send button -
Doing so should give you an accessible Bearer token that will last for 6 hours
Comments
Please sign in to leave a comment.