Contentstack introduces the Agentic Experience Platform | Press release
Contentstack introduces the Agentic Experience Platform | Press release
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs
  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing
  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases
  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP
  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support
  • Overview
  • Find a partner
  • Login
  • About us
  • News
  • Customer support portal
  • Contact
  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.

AI Assistant

Ask a question below...

infoAI responses may contain mistakes.
/
  1. Home
  2. APIs
  3. Launch API
  4. Projects

Projects

markdownView as Markdown

Launch Projects provide a fully managed front-end hosting and deployment solution within Contentstack. It enables you to connect your Git repository, configure build settings, and automatically deploy web projects with seamless integration, scalability, and minimal downtime.

Get all Projects

GEThttps://launch-api.contentstack.com/projects

The Get all Projects request fetches the list of all projects in your organization.

Sample Response
Status|200 OK
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
{
  "pagination": {
    "count": 3,
    "limit": 10,
    "skip": 0
  },
  "projects": [
    {
      "uid": "68a327xxxxxxxx9d0d3",
      "name": "Sample Project",
      "organizationUid": "blt483xxxxxxx3589",
      "repository": {
        "repositoryName": "test/Calculator",
        "username": "test",
        "repositoryUrl": "https://github.com/test/Calculator"
      },
      "deletedAt": null,
      "createdBy": "blt731xxxxxdc963",
      "updatedBy": "blt731xxxxxdc963",
      "deletedBy": null,
      "createdAt": "2025-08-18T13:17:18.261Z",
      "updatedAt": "2025-10-09T09:36:16.484Z",
      "projectType": "GITPROVIDER"
    },
    {
      "uid": "68b02f0xxxxxd6461d",
      "name": "music",
      "organizationUid": "blt483xxxxx83589",
      "repository": {
        "repositoryName": "test/music",
        "username": "test",
        "repositoryUrl": "https://github.com/test/music"
      },
      "deletedAt": null,
      "createdBy": "blt731xxxxxdc963",
      "updatedBy": "blt731xxxxxdc963",
      "deletedBy": null,
      "createdAt": "2025-08-28T10:27:15.850Z",
      "updatedAt": "2025-08-28T10:27:31.065Z",
      "projectType": "GITPROVIDER"
    },
    {
      "uid": "689597axxxxxx47673",
      "name": "nextjs-ssr-isr",
      "organizationUid": "blt483xxxxx83589",
      "repository": {
        "repositoryName": "test/nextjs-ssr-isr",
        "username": "test",
        "repositoryUrl": "https://github.com/test/nextjs-ssr-isr"
      },
      "deletedAt": null,
      "createdBy": "blt7315xxxxxxdc963",
      "updatedBy": "blt7315xxxxxxdc963",
      "deletedBy": null,
      "createdAt": "2025-08-08T06:22:25.536Z",
      "updatedAt": "2025-08-08T06:23:58.338Z",
      "projectType": "GITPROVIDER"
    }
  ]
}

Create a Project

POSThttps://launch-api.contentstack.com/projects

The Create Project request creates a project in Launch using either a Git Provider or File Upload.

The examples below explain how to create projects using a Git Provider or the File Upload option.

Create a Project by FileUpload:

{
  "name": "Sample file upload project",
  "environment": {
    "name": "Test Environment",
    "outputDirectory": "./_site",
    "frameworkPreset": "OTHER",
    "description": "It is a test environment.",
    "buildCommand": "npx @11ty/eleventy",
    "environmentVariables": [],
    "autoDeployOnPush": true
  },
  "projectType": "FILEUPLOAD",
  "description": "Sample description",
  "fileUpload": {
    "uploadUid": "50xxxxa8"
  }
}

To create a project using FileUpload, you must run the following APIs step-by-step:

1. Get a Signed Upload URL for a Project.

2. Upload your ZIP file to Launch (The signed URL is valid only for 10 minutes).

Sample Request
1234567891011121314151617181920212223
{
  "name": "Sample project",
  "environment": {
    "name": "Test Environment",
    "outputDirectory": "./_site",
    "frameworkPreset": "OTHER",
    "description": "It is a test environment.",
    "gitBranch": "main",
    "buildCommand": "npx @11ty/eleventy",
    "environmentVariables": [],
    "autoDeployOnPush": true
  },
  "repository": {
    "repositoryName": "TestUser20/eleventy-base-blog",
    "username": "TestUser20",
    "repositoryUrl": "https://github.com/TestUser20/eleventy-base-blog",
    "gitProviderMetadata": {
      "gitProvider": "GitHub"
    }
  },
  "projectType": "GITPROVIDER",
  "description": "Sample description"
}
Sample Response
Status|200 OK
12345678910111213141516171819
{
  "project": {
    "uid": "68a327xxxxxxxx9d0d3",
    "name": "Sample Project",
    "organizationUid": "blt483xxxxxxx3589",
    "repository": {
      "repositoryName": "TestUser20/eleventy-base-blog",
      "username": "TestUser20",
      "repositoryUrl": "https://github.com/TestUser20/eleventy-base-blog"
    },
    "deletedAt": null,
    "createdBy": "blt731xxxxxdc963",
    "updatedBy": "blt731xxxxxdc963",
    "deletedBy": null,
    "createdAt": "2025-08-18T13:17:18.261Z",
    "updatedAt": "2025-10-09T09:36:16.484Z",
    "projectType": "GITPROVIDER"
  }
}

Get a Project

GEThttps://launch-api.contentstack.com/projects/{project_uid}

The Get a Project request fetches a specific project in Launch using the project_uid path parameter.

Sample Response
Status|200 OK
12345678910111213141516171819
{
  "project": {
    "uid": "68a327xxxxxxxx9d0d3",
    "name": "Sample Project",
    "organizationUid": "blt483xxxxxxx3589",
    "repository": {
      "repositoryName": "TestUser20/eleventy-base-blog",
      "username": "TestUser20",
      "repositoryUrl": "https://github.com/TestUser20/eleventy-base-blog"
    },
    "deletedAt": null,
    "createdBy": "blt731xxxxxdc963",
    "updatedBy": "blt731xxxxxdc963",
    "deletedBy": null,
    "createdAt": "2025-08-18T13:17:18.261Z",
    "updatedAt": "2025-10-09T09:36:16.484Z",
    "projectType": "GITPROVIDER"
  }
}

Update a Project

PUThttps://launch-api.contentstack.com/projects/{project_uid}

The Update a Project request lets you update an existing project in your organization.

Sample Request
1234
{
  "name": "test",
  "description": "This is a test project."
}
Sample Response
Status|200 OK
1234567891011121314151617181920
{
  "project": {
    "uid": "68a327xxxxxxxx9d0d3",
    "name": "test",
    "organizationUid": "blt483xxxxxxx3589",
    "repository": {
      "repositoryName": "TestUser20/eleventy-base-blog",
      "username": "TestUser20",
      "repositoryUrl": "https://github.com/TestUser20/eleventy-base-blog"
    },
    "deletedAt": null,
    "createdBy": "blt731xxxxxdc963",
    "updatedBy": "blt731xxxxxdc963",
    "deletedBy": null,
    "createdAt": "2025-08-18T13:17:18.261Z",
    "updatedAt": "2025-10-09T09:36:16.484Z",
    "projectType": "GITPROVIDER",
    "description": "This is a test project."
  }
}

Delete a Project

DELETEhttps://launch-api.contentstack.com/projects/{project_uid}

The Delete a Project request lets you delete an existing project in your organization.

Sample Response
Status|204 No Content
1
Project deleted successfully.
PATCHhttps://launch-api.contentstack.com/projects/{project_uid}/git-repository

undefined

Sample Request
12345
{
  "repositoryName": "new-owner/new-repo",
  "username": "new-owner",
  "repositoryUrl": "https://github.com/new-owner/new-repo"
}
Sample Response
Status|200 OK
1
200 response
Hide Parameters

Query Parameters

skipoptionalstring

The "skip" parameter will skip a specific number of projects in the output. For example, if there are 20 projects and you want to skip the first 2 to get only the last 12 in the response body, you need to specify "2" here.

limitoptionalstring

The "limit" parameter will return a specific number of projects (in between 0-100) in your response based on the value you provide. If there are 20 projects and you want to fetch only 10 projects, set the limit as 10.

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).

Hide Parameters

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).

Hide Parameters

URL Parameters

project_uidrequiredstring

Enter the project_uid of the project that you want to retrieve

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).

Hide Parameters

URL Parameters

project_uidrequiredstring

Enter the project_uid of the project that you want to update.

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).

Hide Parameters

URL Parameters

project_uidrequiredstring

Enter the project_uid of the project that you want to delete.

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).

Hide Parameters

Headers

authorizationoptionalstring

Use a bearer token to authenticate if you're not using the authtoken header. Format: Bearer . If provided, the organization_uid header isn't required.

authtokenoptionalstring

Use an authentication token if the Authorization header isn't provided. **Requires the organization_uid header.** When using authtoken authentication, you must explicitly provide the organization_uid header. The organization_uid cannot be derived from project_uid for Launch REST APIs.

x-cs-api-versionoptionalstring

Enter the API version. Default is 1.0

organization_uidoptionalstring

⚠️ **REQUIRED when using authtoken authentication** - you must explicitly provide this header. Optional with Authorization Bearer token (organization_uid can be derived from the token).