Products

Create a Product

Changed on

Create a Product. Provide attributes to set values directly (including the product name via the Name attribute, and images via the Images attribute). To attach images, first create each one with POST /v1/context-sources, then reference the returned IDs in the Images attribute value. The sources a Product was generated from are managed in the web app, not through this API.

post/v1/products

Request

  • Base URL
    https://api.jasper.ai
  • URL
    https://api.jasper.ai/v1/products
  • Auth
    • API key in header X-API-Key
    • or OAuth 2
      Authorization code: https://api.jasper.ai/oauth2/authorize
      Token URL: https://api.jasper.ai/oauth2/token scopes: user

Request body

accessLevel'PRIVATE' | 'PUBLIC'

Who can access the product. Defaults to PRIVATE.

Example request

{
  "attributes": [
    {
      "id": "atr_535B1EC15F5F41EAB1B400E9ED4077B6"
    }
  ]
}

Response

Product created

requestIdstring required
resourcestring required

Example response

{
  "requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
  "resource": "products",
  "data": {
    "id": "prd_073D2D49094A4AED991A47B614522579",
    "processingState": "complete",
    "accessLevel": "PRIVATE",
    "contextSourceIds": [
      "csc_073D2D49094A4AED991A47B614522579"
    ],
    "attributes": [
      {
        "id": "atr_535B1EC15F5F41EAB1B400E9ED4077B6",
        "name": "Overview",
        "type": "TEXT_LONG"
      }
    ],
    "createdAt": "2026-06-30T15:38:00.474Z",
    "updatedAt": "2026-06-30T15:38:00.474Z"
  }
}

Changes