---
title: "Create a skipped Snapshot status check"
url: https://docs.sentry.io/api/snapshots/create-a-skipped-snapshot-status-check/
---

# Create a skipped Snapshot status check | Sentry Docs

POST /api/0/projects/{organization\_id\_or\_slug}/{project\_id\_or\_slug}/preprod/snapshots/status-checks/skip/

Create a neutral status check for a commit that intentionally skips an artifact upload.

The repository must be connected to the project's organization through an active repository integration. The same Sentry auth token configured for build uploads can also be used for this endpoint.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the resource belongs to.

* `project_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.

### Body Parameters

* `sha` *(string)*

  REQUIRED

  The full 40-character lowercase commit SHA.

* `repository` *(string)*

  REQUIRED

  The repository name in `owner/name` format.

* `provider` *(string)*

  REQUIRED

  The repository integration provider.

  * `github`
  * `github_enterprise`

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `org:ci`
* `project:admin`
* `project:releases`
* `project:write`

```
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/preprod/snapshots/status-checks/skip/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: application/json' \
 -d '{}'
```

RESPONSE

```
Copied
Success.
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
