Create a New Project

POST /api/0/teams/{organization_slug}/{team_slug}/projects/

Create a new project bound to a team.

Path Parameters:
  • organization_slug (string)

    the slug of the organization the team belongs to.

  • team_slug (string)

    the slug of the team to create a new project for.

Parameters:
  • name (string)

    the name for the new project.

  • slug (string)

    optionally a slug for the new project. If it’s not provided a slug is generated from the name.

Authentication: required
Method: POST
Path: /api/0/teams/{organization_slug}/{team_slug}/projects/

Example

POST /api/0/teams/the-interstellar-jurisdiction/powerful-abolitionist/projects/ HTTP/1.1
Host: sentry.io
Authorization: Bearer <token>
Content-Type: application/json

{
  "name": "The Spoiled Yoghurt"
}
HTTP/1.1 201 CREATED
Content-Length: 450
X-XSS-Protection: 1; mode=block
Content-Language: en
X-Content-Type-Options: nosniff
Vary: Accept-Language, Cookie
Allow: GET, POST, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json

{
  "avatar": {
    "avatarType": "letter_avatar", 
    "avatarUuid": null
  }, 
  "color": "#bf6e3f", 
  "dateCreated": "2018-11-06T21:20:08.064Z", 
  "features": [
    "servicehooks", 
    "sample-events", 
    "data-forwarding", 
    "rate-limits", 
    "minidump"
  ], 
  "firstEvent": null, 
  "hasAccess": true, 
  "id": "4", 
  "isBookmarked": false, 
  "isInternal": false, 
  "isMember": true, 
  "isPublic": false, 
  "name": "The Spoiled Yoghurt", 
  "platform": null, 
  "slug": "the-spoiled-yoghurt", 
  "status": "active"
}