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: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
Content-Type: application/json

{
  "name": "The Spoiled Yoghurt"
}
HTTP/1.1 201 CREATED
Allow: GET, POST, HEAD, OPTIONS
Content-Language: en
Content-Length: 340
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"
  ],
  "color": "#bf6e3f",
  "isInternal": false,
  "isPublic": false,
  "dateCreated": "2018-02-20T15:27:31.893Z",
  "platform": null,
  "callSign": "THE-SPOILED-YOGHURT",
  "firstEvent": null,
  "isBookmarked": false,
  "id": "4",
  "name": "The Spoiled Yoghurt"
}