Skip to main content

Create App

Create a new app for an organization.

Parameters

ParameterDescription
Access Token TTLThe access token time to live for your app, in seconds. It only affects the newly generated access tokens, existing access token will continue to have their previous time to live as expiration.
ContextAllow installing the app to a org/group or to a user, default tenant.
NameNew name of the app to display to users during authorization flow.
Organization IDUnique identifier for an organization.
Redirect URIsList of allowed redirect URIs to call back after authentication.
ScopesThe scopes this app is allowed to request during authorization.

Example Output

{
"jsonapi": {
"version": "1.0"
},
"links": {
"self": "https://api.snyk.io/rest/orgs/bdac969a-d4c0-4b3a-905a-8bf7737f8fa8/apps/fe2ee23e-3683-473f-ab5c-e2550de639ba?version=2022-03-11"
},
"data": {
"id": "04a420e6-b2b6-4d05-afee-6d86b5a5b09f",
"type": "app",
"attributes": {
"org_public_id": "bdac969a-d4c0-4b3a-905a-8bf7737f8fa8",
"name": "testapp",
"client_id": "fe2ee23e-3683-473f-ab5c-e2550de639ba",
"client_secret": "snyk_cs_toH64JsBOdnnS1_M_HoLVsx4puVHZw1tC5XcbSXF_iY__v1",
"redirect_uris": [
"https://sso-app.dev.example.com"
],
"scopes": [
"org.read"
],
"access_token_ttl_seconds": 3600,
"is_public": false,
"context": "tenant",
"is_confidential": true
}
}
}

Workflow Library Example

Create App with Snyk and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop