Clients
Understanding clients
In InboxComponents, everything is scoped to a Client—an isolated environment that ensures complete separation of data between tenants. This is not optional—it’s a core security feature of the platform.
Why clients?
Secure by design: Every account, message, and component is tied to a client. There is no way for users to access data from other clients.
Perfect for SaaS: Each tenant or customer in your SaaS platform gets their own client environment.
Zero data leakage: Conversations and connected accounts are completely sandboxed per client.
Fully managed: Clients can be created and maintained via the dashboard UI or API
How It Works
You create a Client via the dashboard or using the API.
When rendering a component, you pass the associated
clientId(along withcomponentIdand your API key) to request a token.All messaging activity—receiving, sending, viewing—is only visible to that client.
Even if multiple clients share the same component, their data remains fully isolated.
API documentation
Returns all clients (tenants) registered in the system.
Your API key, available from the dashboard
The collection page number
1Client collection
GET /api/clients HTTP/1.1
Host: app.inboxcomponents.com
X-API-KEY: YOUR_API_KEY
Accept: */*
Client collection
{
"member": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}
],
"totalItems": 1,
"view": {
"@id": "string",
"type": "string",
"first": "string",
"last": "string",
"previous": "string",
"next": "string"
},
"search": {
"@type": "text",
"template": "text",
"variableRepresentation": "text",
"mapping": [
{
"@type": "text",
"variable": "text",
"property": null,
"required": true
}
]
}
}Registers a new client (tenant) in the platform
Your API key, available from the dashboard
Represents a tenant or customer using the inbox platform. Each client has its own connected accounts.
Client resource created
Invalid input
An error occurred
POST /api/clients HTTP/1.1
Host: app.inboxcomponents.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/ld+json
Accept: */*
Content-Length: 28
{
"name": null,
"website": null
}{
"@context": "text",
"@id": "text",
"@type": "text",
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Retrieves detailed information for a single client.
Your API key, available from the dashboard
Client identifier
Client resource
Not found
GET /api/clients/{id} HTTP/1.1
Host: app.inboxcomponents.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"@context": "text",
"@id": "text",
"@type": "text",
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Replaces the full client resource with new data.
Your API key, available from the dashboard
Client identifier
Represents a tenant or customer using the inbox platform. Each client has its own connected accounts.
Company Xhttps://example.com2025-03-27T15:00:49+00:00e6a2e786-2ce0-444a-b08c-ca21ed816bf0Client resource updated
Invalid input
Not found
An error occurred
PUT /api/clients/{id} HTTP/1.1
Host: app.inboxcomponents.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/ld+json
Accept: */*
Content-Length: 153
{
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}{
"@context": "text",
"@id": "text",
"@type": "text",
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Updates one or more fields for an existing client.
Your API key, available from the dashboard
Client identifier
Represents a tenant or customer using the inbox platform. Each client has its own connected accounts.
Company Xhttps://example.com2025-03-27T15:00:49+00:00e6a2e786-2ce0-444a-b08c-ca21ed816bf0Client resource updated
Invalid input
Not found
An error occurred
PATCH /api/clients/{id} HTTP/1.1
Host: app.inboxcomponents.com
X-API-KEY: YOUR_API_KEY
Content-Type: application/merge-patch+json
Accept: */*
Content-Length: 153
{
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}{
"@context": "text",
"@id": "text",
"@type": "text",
"name": "Company X",
"website": "https://example.com",
"createdAt": "2025-03-27T15:00:49+00:00",
"updatedAt": null,
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Last updated
Was this helpful?
