POST
/
customer
Create a new customer
curl --request POST \
  --url https://api.keymint.dev/customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com"
}'
{
  "action": "createCustomer",
  "status": true,
  "message": "Customer created successfully",
  "data": {
    "id": "078116d0069c32407b4f63",
    "name": "Test Customer",
    "email": "test@example.com"
  },
  "code": 0
}

Authorizations

Authorization
string
header
required

Access token for API authentication

Body

application/json

Response

201
application/json

Customer created successfully

The response is of type object.