Skip to main content
POST
/
{version}
/
parties
/
create
Create Party
curl --request POST \
  --url https://api.example.com/{version}/parties/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fullname": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "country_code": "<string>"
}
'
{
  "id": 123,
  "fullname": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "phone": "<string>",
  "country_code": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

version
string
required
Allowed value: "v1"

Body

application/json
fullname
string
required
phone
string
required

E.164 digits only, without '+' (e.g. 231771234567)

Required string length: 8 - 15
Pattern: ^[1-9]\d{7,14}$
email
string | null
country_code
string | null

Response

Successful Response

PartyResponse

id
integer
required
fullname
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
email
string | null
phone
string | null
Required string length: 8 - 15
country_code
string | null
Last modified on June 23, 2026