Skip to main content
POST
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
clientId
string
required

Snyk service-account client ID to validate and use for organization discovery.

Required string length: 1 - 16384
clientSecret
string
required

Snyk service-account client secret. Used for discovery without saving an integration.

Required string length: 1 - 65536
cursor
string

Continuation cursor from the previous response nextCursor. Omit for the first page; null nextCursor means there are no more pages.

Required string length: 1 - 2048
limit
integer
default:50

Maximum number of items to return in one page. Use nextCursor from the response to fetch more items.

Required range: 1 <= x <= 100

Response

Discover Snyk organizations

items
object[]
required
Maximum array length: 100
nextCursor
string | null
required
Required string length: 1 - 2048