Create a new participant

POST /participants

Registers a new participant into the system by providing the necessary details.

application/json

Body Required

JSON object containing the details of the participant to be added. Email must be unique.

  • email string Required

    Unique email address for the participant. Also used as the username for login.

  • name string Required

    Full name of the participant.

  • password string Required

    Password for participant login. Ensure to send a strong and secure password.

Responses

  • 201

    Participant successfully created and added to the system.

  • 400

    Total number of participants exceeds the limit allowed by your service plan.

  • 401

    Authorization failed. Ensure the X-Client-Key sent is valid and active.

  • 403

    Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission.

  • 422

    Validation error occurred on the submitted data. Please check the format and completeness of the data.

  • 500

    An internal server error occurred. Please try again shortly or contact support.

POST /participants
curl \
 --request POST 'https://app.indolat.com/api/v1/participants' \
 --header "X-Client-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"email":"participant@example.com","name":"John Doe","password":"StrongPassword123!"}'
Request examples
{
  "email": "participant@example.com",
  "name": "John Doe",
  "password": "StrongPassword123!"
}