Prerequisites
- API Key created in StackOne Dashboard and copied to a secure location
- Basic Authentication Setup - Learn how to properly authenticate with StackOne API using your API key
- Required provider integration enabled
- Account linked successfully
- (Optional) Use an SDK or Postman
Getting Account ID
Authentication: When using
curl -u "$API_KEY:", encoding is handled automatically. When setting the Authorization header manually, you must base64 encode your API key first. See the Basic Authentication Guide for details.- List your linked accounts to find the account ID:
- From the response, copy the
idvalue for your desired provider account.
Making Your First Request
Now you’re ready to make your first IAM API call. Let’s list the users from the connected identity provider:- cURL
- TypeScript
- Python
Example Response
Next Steps
List Roles
Get roles defined in the identity provider
List Groups
Retrieve user groups and memberships
Pagination
Handle large result sets efficiently
Webhooks
Get notified when users change