POST
/
businesses
curl --request POST \
  --url https://api.joinworth.com/auth/api/v1/businesses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Trial",
  "last_name": "account",
  "email": "test@email.com",
  "customer_id": "15f3d332-dbd5-4646-b636-e32306603616",
  "mobile": "+16572234456",
  "business_name": "Trial comp",
  "business_mobile": "+16072234465"
}'
{
  "status": "success",
  "message": "Business invited successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_name
string
required
last_name
string
required
email
string
required
customer_id
string
required
mobile
string
required
business_name
string
required
business_mobile
string
required

Response

200
application/json; charset=utf-8
OK
status
string
required
message
string
required

Was this page helpful?