Clienvy API documentation

Get the Clienvy subscription

GET
https://api.clienvy.io/employee/v1
/organization/subscription

Returns the organization's subscription with Clienvy: the active one (plan, interval, slots, price and current period), a scheduled change that starts with the next period, the plans there are, the slots in use (used_slots: employees and open invites) against maximum_slots, the modules holding records that a plan change cannot drop (blocked_features) and the trial while it runs. Changing the subscription is only possible in Clienvy itself.

Get the Clienvy subscription › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get the Clienvy subscription › Responses

OrganizationSubscriptionStateResource

A change that starts with the next period.

used_slots
​integer

Employees and open invites, demo accounts and API tokens left out.

maximum_slots
​integer | null
​object[]

The modules holding records, which a plan change cannot drop.

trial
​object | null

List Clienvy invoices

GET
https://api.clienvy.io/employee/v1
/organization/billing/invoices

Returns the invoices Clienvy sent the organization, newest first, 25 per page. total_unpaid is what is still open, and url opens the invoice.

List Clienvy invoices › query Parameters

page
​integer

Page number of the paginated result set.

List Clienvy invoices › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List Clienvy invoices › Responses


Get the Clienvy billing details

GET
https://api.clienvy.io/employee/v1
/organization/billing/details

Returns the details Clienvy invoices the organization to, and the VAT rate that follows from them. They can only be changed in Clienvy itself.

Get the Clienvy billing details › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get the Clienvy billing details › Responses

​object · required
​TaxRateResource · required

Get the direct debit

GET
https://api.clienvy.io/employee/v1
/organization/billing/mandate

Returns the direct debit authorisation Clienvy collects the subscription with, or mandate null when there is none. It can only be set up or revoked in Clienvy itself.

Get the direct debit › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get the direct debit › Responses

Wrapped in a key, because an unwrapped null becomes an empty object on the way out

mandate
​object | null · required

List wallet transactions

GET
https://api.clienvy.io/employee/v1
/organization/wallet/transactions

Returns what was added to and taken off the wallet, newest first: top-ups, manual bookings and what Clienvy's own services cost, such as registering, transferring or renewing a domain. A negative amount is a charge. The balance comes with GET /organization (wallet_balance, wallet_reserved and wallet_available). Topping up is only possible in Clienvy itself.

List wallet transactions › query Parameters

page
​integer

Page number of the paginated result set.

per_page
​integer

Number of items per page. Defaults to the endpoint's own page size; capped at 500.

List wallet transactions › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List wallet transactions › Responses

Array of OrganizationWalletTransactionResource


List wallet reservations

GET
https://api.clienvy.io/employee/v1
/organization/wallet/reservations

Returns what is held on the wallet for what is not definite yet, such as a domain the registrar is still registering, newest first. Once definite it becomes a transaction, and it is released when the request is cancelled.

List wallet reservations › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List wallet reservations › Responses

Array of OrganizationWalletReservationResource

id
​string · uuid
type
​string

The type of the transaction it becomes once definite.

amount
​string
description
​string | null

What it is for, such as the domain being registered. Null for a top-up or a manual booking.

created_at
​string · date-time