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
Authorization: Bearer {base64-encoded-key-here}
Host: sentry.io
Content-Type: application/json

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

{
  "status": "active",
  "slug": "the-spoiled-yoghurt",
  "features": [
    "data-forwarding",
    "rate-limits"
  ],
  "hasAccess": true,
  "color": "#bf6e3f",
  "isInternal": false,
  "isPublic": false,
  "dateCreated": "2018-08-22T18:23:57.044Z",
  "platform": null,
  "firstEvent": null,
  "avatar": {
    "avatarUuid": null,
    "avatarType": "letter_avatar"
  },
  "isMember": false,
  "isBookmarked": false,
  "id": "4",
  "name": "The Spoiled Yoghurt"
}