Skip to main content
POST
/
api
/
v1
/
vendors
Create Vendor
curl --request POST \
  --url https://app.phonebot.io:80/api/v1/vendors \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "ACME Corporation"
}
'
{
  "success": true,
  "timestamp": "2025-04-17T14:23:30Z",
  "message": "<string>",
  "data": null,
  "traceId": "<string>"
}

Body

application/json

Vendor creation data

Data required to create a new Vendor.

name
string
required

Name of the new vendor.

Example:

"ACME Corporation"

Response

Vendor successfully created

Standard API response wrapper

success
boolean
required

Indicates if the request was successful

Example:

true

timestamp
string<date-time>
required

Response timestamp in ISO-8601 format

Example:

"2025-04-17T14:23:30Z"

message
string

Human-readable message

data
any

Payload data object

Example:

null

traceId
string

Correlation or trace ID