Skip to main content

Create a new business

POST /api/v1/businesses

Description

Create a new business entity.

URL:

  • Raw URL: /api/v1/businesses

  • Host:

  • Path: /api/v1/businesses

Request Headers:

  • Content-Type: application/json

Response:

  • Status: Created (201)
/api/v1/businesses

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"userId": "<string>",
"type": "SABI_AGENT",
"category": "REGISTERED_BUSINESS",
"name": "<string>",
"email": "<string>",
"aboutMe": "<string>",
"website": "<string>",
"phone": "<string>",
"photo": "<string>",
"source": "AGENT",
"actionBy": "<string>"
}

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 201

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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