Create a New Project

POST /api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/projects/

Create a new project bound to a team.

Path Parameters

organization_id_or_slug (string)
REQUIRED

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

team_id_or_slug (string)
REQUIRED

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

Body Parameters

name (string)
REQUIRED

The name for the project.

slug (string)

Uniquely identifies a project and is used for the interface. If not provided, it is automatically generated from the name.

platform (string)

The platform for the project.

default_rules (boolean)

Defaults to true where the behavior is to alert the user on every new issue. Setting this to false will turn this off and the user must create their own alerts to be notified of new issues.

Scopes

<auth_token> requires one of the following scopes:
  • project:admin
  • project:write
curl https://sentry.io/api/0/teams/{organization_id_or_slug}/{team_id_or_slug}/projects/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: application/json' \
 -d '{}'
RESPONSESCHEMA
{
  "id": "4505321021243392",
  "slug": "the-spoiled-yoghurt",
  "name": "The Spoiled Yoghurt",
  "platform": "python",
  "dateCreated": "2023-06-08T00:13:06.004534Z",
  "isBookmarked": false,
  "isMember": true,
  "features": [
    "alert-filters",
    "custom-inbound-filters",
    "data-forwarding",
    "discard-groups",
    "minidump",
    "race-free-group-creation",
    "rate-limits",
    "servicehooks",
    "similarity-indexing",
    "similarity-indexing-v2",
    "similarity-view",
    "similarity-view-v2"
  ],
  "firstEvent": null,
  "firstTransactionEvent": false,
  "access": [
    "member:read",
    "event:read",
    "project:admin",
    "team:write",
    "project:write",
    "team:admin",
    "project:read",
    "org:integrations",
    "org:read",
    "project:releases",
    "team:read",
    "alerts:write",
    "event:admin",
    "event:write",
    "alerts:read"
  ],
  "hasAccess": true,
  "hasMinifiedStackTrace": false,
  "hasCustomMetrics": false,
  "hasMonitors": false,
  "hasProfiles": false,
  "hasReplays": false,
  "hasSessions": false,
  "hasInsightsHttp": true,
  "hasInsightsDb": false,
  "hasInsightsAssets": true,
  "hasInsightsAppStart": false,
  "hasInsightsScreenLoad": false,
  "hasInsightsVitals": false,
  "hasInsightsCaches": false,
  "hasInsightsQueues": false,
  "hasInsightsLlmMonitoring": false,
  "isInternal": false,
  "isPublic": false,
  "avatar": {
    "avatarType": "letter_avatar",
    "avatarUuid": null
  },
  "color": "#3f70bf",
  "status": "active"
}