Skip to main content

Create Product

POST /api/v1/products

Description

Create a new product under a tenant account.

🔑 Authentication

This endpoint requires authentication via a Bearer Token.

ParamValueType
token{{tenantUserAccessToken}}string

Request Body

NameTypeDescription
namestringThe product name
overviewstringA short description of the product
requirementsarrayList of requirements for using the product
displaystringVisibility of the product (PUBLIC, PRIVATE)
categorystringProduct category (e.g., WHITE_LABEL)
bioobjectAdditional bio information
bio.titlestringTitle of the product bio
bio.descriptionstringDescription of the product bio
bio.photostringURL of the product image
actionBystringThe user performing the action
photostringURL of the product image
tenantIdstringThe ID of the tenant creating the product

Configuration Settings

Each product can be configured for different platforms.

Mobile App Configuration
NameTypeDescription
labelstringDisplay name of the setting
keystringUnique key identifier
valuestringConfiguration value
requiredbooleanWhether this field is required
valueTypestringData type (e.g., string, boolean)
formTypestringType of input form (e.g., input, dropdown)
formOptionsarrayAvailable options for dropdown fields
Web App Configuration

The same configuration structure applies to:

  • PWA App (config.pwaApp)
  • Web App (config.webApp)
  • Admin App (config.adminApp)

Product Classification

Products can be grouped based on industry categories.

NameTypeDescription
groupstringIndustry classification (e.g., Health & Fitness)
tagsarrayTags associated with the product (e.g., Banking, Investing)

Example Request

POST /api/v1/products
Authorization: Bearer {{tenantUserAccessToken}}
Content-Type: application/json
{
"name": "Sabi Finance Suite",
"overview": "A complete financial solution for businesses",
"requirements": [],
"display": "PUBLIC",
"category": "WHITE_LABEL",
"bio": {
"title": "Financial Suite",
"description": "Manage your business finances efficiently",
"photo": "https://example.com/product-image.png"
},
"actionBy": "{{$randomUUID}}",
"photo": "https://example.com/product-image.png",
"tenantId": "{{$randomTenantId}}",
"config": {
"mobileApp": [
{
"label": "Enable Auto Payments",
"key": "auto_pay",
"value": "true",
"required": true,
"valueType": "boolean",
"formType": "toggle",
"formOptions": []
}
]
},
"services": ["payment-processing"],
"classification": [
{
"group": "Finance",
"tags": ["Banking", "Investing", "Payments"]
}
]
}

Response

Response Code: 200 - OK

{
"message": "Product Creation Acknowledged",
"code": "{{$randomCode}}",
"apiKey": "{{$randomApiKey}}"
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/products \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!