Create Customer

API to create a new customer in your account

This API endpoint allows you to create a new customer. Customers can be created with various attributes, including their username, name, password, and limit.

Endpoint URL: https://api.v7.botpenguin.com/customer/create

HTTP Method: POST

Request Headers

  • Authorization: A bearer token is required for authentication. Replace [MASKED_TOKEN] with your valid API token. This token is used to authenticate and authorize the request.

  • Content-Type: Set to application/json to indicate that the request body is in JSON format.

Request Body

The request body should be a JSON object containing the following attributes:

  • username (string, required): The email address of the customer.

  • name (string, required): The name of the customer.

  • password (string, required): The password for the customer's account.

Sample Request


curl --location 'https://api.v7.botpenguin.com/customer/create' \
--header 'authorization: Bearer [MASKED_TOKEN] ' \
--header 'content-type: application/json' \
--header 'authtype: Key' \
--data-raw '{"username":"random@test.com","name":"Random","password":"dasdsada"}'

Response

The API will respond with the created customer information or an error message if the request fails.

Got any questions?

If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at contact@botpenguin.com

Last updated