Users

Create new user

Creates a new user and returns the id and the status of the created user

post/users

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Request body

namestring
surnamestring
emailstring email
dnistring
phoneNumberstring
language'es-ES' | 'en-US' | 'ca-ES' | 'gl-ES' | 'eu-ES'

User language in BCP 47 format, one of the languages the app is available in: es-ES (Spanish), en-US (English), ca-ES (Catalan), gl-ES (Galician) and eu-ES (Basque). If it is not specified, the tenant's default language is used. Any other value is rejected with a 400.

Example request

{
  "name": "John",
  "surname": "Doe",
  "email": "john.doe@example.com",
  "dni": "12345678X",
  "phoneNumber": "600000000",
  "language": "es-ES"
}

Response

Record successfully added.

idstring
statusstring

Example response

{
  "id": "U4NW5zdmstUtRZW5Oi3S2CR5l0U2",
  "status": "INITIAL"
}

Changes

No recorded changes to this operation across all 1 revision of this API.