Upload a New File

POST /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/

Upload a new debug information file for the given release.

Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type.

Requests to this endpoint should use the region-specific domain eg. us.sentry.io or de.sentry.io.

The file uploaded is a zip archive of an Apple .dSYM folder which contains the individual debug images. Uploading through this endpoint will create different files for the contained images.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

project_id_or_slug (string)
REQUIRED

The ID or slug of the project to upload a file to.

Body Parameters

file (string)
REQUIRED

The multipart encoded file.

Scopes

<auth_token> requires one of the following scopes:
  • project:write
Copied
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/files/dsyms/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: multipart/form-data' \
 -F file=debug.zip
RESPONSE
Copied
Success.