Download OpenAPI specification:Download
Control Events Public REST API.
Control Events use the OAuth 2.0 protocol for authentication and authorization. Control Events supports common OAuth 2.0 scenarios such as those for web server, installed, and client-side applications.
If you want to make requests on behalf of other control.events users, you can register an OAuth application and have them grant permissions to your app.
Security Scheme Type | OAuth2 |
---|---|
authorizationCode OAuth Flow | Authorization URL: https://account.corezoid.com/oauth2/authorize Token URL: https://account.corezoid.com/oauth2/token Scopes:
|
You can generate an API access_token for your workspace on the Account (Account -> API Keys).
To use an API access_token to authenticate an API request, just replace access_token in the following API endpoints with the string key, and pass the Authorization header:
Authorization: Bearer YOUR_ACCESS_TOKEN
Security Scheme Type | HTTP |
---|---|
HTTP Authorization Scheme | bearer |
Scopes [control.events:workspaces.readonly]
control.events:workspaces.readonly
) Authorization required | string Authorization header. Bearer [AccessToken] |
curl --request GET \ --url https://api.simulator.company/v/1.0/workspaces
{- "data": [
- {
- "id": 0,
- "name": "string",
- "avatar": "string",
- "status": "open",
- "role": "owner",
- "createdAt": 0,
- "updatedAt": 0
}
]
}
Scopes [control.events:users.readonly]
control.events:users.readonly
) accId required | string Workspace Id |
limit | integer [ 0 .. 200 ] Default: 20 The total number of rows to retrieve (used with offset) |
offset | integer Default: 0 The number of rows to skip when fetching list |
Authorization required | string Authorization header. Bearer [AccessToken] |
curl --request GET \ --url https://api.simulator.company/v/1.0/users/%7BaccId%7D
{- "data": [
- {
- "id": 0,
- "nick": "string",
- "lang": "string",
- "type": "user",
- "role": "owner",
- "logins": [
- {
- "type": "string",
- "login": "string"
}
], - "createdAt": 0,
- "updatedAt": 0
}
]
}
Scopes [control.events:users.management]
control.events:users.management
) accId required | string Workspace Id |
Authorization required | string Authorization header. Bearer [AccessToken] |
userId required | string |