Skip to content
Cloud infrastructure/devops

snyk.io

Snyk sandbox and mock API

The Snyk API is available to customers on [Business and Enterprise plans](https://snyk.io/plans) and allows you to programatically integrate with Snyk. ## REST API We are in the process of building a new, improved API (`https://api.snyk.io/rest`) built using the OpenAPI and JSON API standards. We welcome you to try it out as we shape and release endpoints until it, ultimately, becomes a full repla Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
103
Collections
-
Event types
-
example request
curl https://your-snyk.slurry.io/api/v1/orgs \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 103.

  • POST/group/{groupId}/audit
  • GET/group/{groupId}/members
  • POST/group/{groupId}/org/{orgId}/members
  • GET/group/{groupId}/orgs
  • GET/group/{groupId}/roles
  • GET/group/{groupId}/settings
  • PUT/group/{groupId}/settings
  • GET/group/{groupId}/tags
  • POST/group/{groupId}/tags/delete
  • POST/monitor/dep-graph
  • POST/org
  • DELETE/org/{orgId}