API Reference
Customers

Get current customer

GET/api/v1/customer/me
Base URL: https://bloquo.mimicr.dev · provider: https://api.bloquo.io

Returns the customer profile associated with the authenticated token. Useful for resolving the customerId of the calling client without requiring it to be stored externally.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Responses

200Authenticated customer profile.
statusboolean
Example: true
statusCodeinteger
Example: 200
resultobject
Show child attributes
idinteger<int64>
Example: 42
typeIdinteger<int64>

ID of the customer type (see GET /api/v1/customer/types).

Example: 3
namestring
Example: "Acme Corp Ltda"
taxIdstring
Example: "12.345.678/0001-90"
countrystring
Example: "BR"
parentIdinteger<int64> | null
Example: 1
childEnabledboolean
Example: false
childLoginAllowedboolean

Whether sub-customer users can log in through this customer's portal.

Example: false
childDepthinteger

Current depth of this customer in the hierarchy (root = 0).

Example: 1
maxChildDepthinteger | null
Example: 1
liquidityOperationsCapabilitiesinteger

Bitmask of liquidity operations this customer is allowed to perform.

Example: 3
platformModulesinteger

Bitmask of platform modules enabled for this customer.

Example: 7
enabledboolean
Example: true
typeobject

Customer type details. Present only when includes=type is requested.

Show child attributes
idinteger<int64>
Example: 1
namestring
Example: "EndCustomer"
createdBystring
Example: "admin"
lastUpdatedBystring
Example: "admin"
createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"
messagestring | null