Prerequisites
You have an Exec workspace with admin access
Step 1: Create an API Key
1
Go to Settings > API
Navigate to your workspace settings and click API in the sidebar.
2
Create a new key
Click Create API Key, enter a name like “Quickstart Test”, and click Create.
3
Copy your key
Copy the displayed key immediately. It looks like
exec_live_aB3dE5...Step 2: Make Your First Request
Open a terminal and run this command, replacingYOUR_API_KEY with the key you copied:
Step 3: Check the Response
You should receive a JSON response with your workspace information:If you see your workspace data, you’re all set!
Troubleshooting
401 Unauthorized
401 Unauthorized
Connection errors
Connection errors
- Verify you’re using the correct base URL:
https://api.exec.com/rest/v1/ - Check your network connection and firewall settings