Validate user_client

Validate user_client

This endpoint is responsible for the validation of any key passed to it. It returns the client information related to the requester.

POST {{Environment_URL}}/v1/auth/user_clients/validate

Headers

Name
Value

Authorization

Bearer <token>

Body Params

Key
Description
Required
Data Type
Example

key

client-key, is obtained via webhook upon client creation.

true

String

123ABCD456

Request Body

{
	"key": "123ABCD456"
}

Response

{
    "id": 1,
    "correspondent_id": 1,
    "key": "123ABCD456",
    "cpf": "123.456.789-00",
    "created_at": "2019-08-14T14:26:49.877-03:00",
    "updated_at": "2019-08-14T14:26:49.877-03:00"
}