Skip to main content
POST
/
clients
Create Customer
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/clients \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "_isActive": true,
  "_isAddressEnabled": true,
  "city": "HungerFord",
  "clientType": "individual",
  "country": "The Gambia",
  "createDepositAccount": false,
  "createdDate": "12 April 2023",
  "dateOfBirth": "10 February 1997",
  "emailAddress": "wair33214@yopmail.com",
  "externalId": "T-803",
  "firstname": "Peter",
  "gender": "male",
  "lastname": "Thompson",
  "middlename": "Segun",
  "mobileNo": "2349047838783",
  "officeId": 1,
  "productId": 1,
  "state": "Banjul",
  "street": "11, Longway, Hungerford, Gambia",
  "tierLevel": 3
}'
{}

Authorizations

Authorization
string
header
required

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

Body

_isActive
boolean
Example:

true

_isAddressEnabled
boolean
Example:

true

city
string
Example:

"HungerFord"

clientType
string
Example:

"individual"

country
string
Example:

"The Gambia"

createDepositAccount
boolean
Example:

false

createdDate
string
Example:

"12 April 2023"

dateOfBirth
string
Example:

"10 February 1997"

emailAddress
string
Example:

"wair33214@yopmail.com"

externalId
string
Example:

"T-803"

firstname
string
Example:

"Peter"

gender
string
Example:

"male"

lastname
string
Example:

"Thompson"

middlename
string
Example:

"Segun"

mobileNo
string
Example:

"2349047838783"

officeId
number
Example:

1

productId
number
Example:

1

state
string
Example:

"Banjul"

street
string
Example:

"11, Longway, Hungerford, Gambia"

tierLevel
number
Example:

3

Response

200 - application/json

{}

The response is of type object.

I