Cliente API

Endpoints para clientes

Crear un cliente

POST /hooks/clients

Crea un usario de tipo cliente.

Parameters

Name Description
username Email de registro

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Host: example.org
Cookie: 

Route

POST /hooks/clients

Body

{"username":"test@example.com"}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"f27c9bc25e7d395fac34a406f8a0e422"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 465f0439-9d1c-4085-aacc-215618d2efd0
X-Runtime: 0.842957
Vary: Origin
Content-Length: 177

Status

200 OK

Body

{
  "data": {
    "user": {
      "id": 10095,
      "username": "test@example.com",
      "created_at": "2023-04-28T21:44:46.789Z",
      "personal_information": null,
      "fiscal_information": null,
      "digital_documents": [

      ]
    }
  }
}