Accounts
Get active all accounts
In InboxComponents, an Account represents a specific communication channel or service that a client integrates into their environment. Currently, we support integration with WhatsApp accounts, with plans to include LinkedIn, Telegram, Instagram, and email (Gmail, Outlook) in the near future.
🔑 Dashboard owners: Adding accounts via the dashboard
Dashboard owners can seamlessly add and manage accounts through the InboxComponents Dashboard.
Steps to Add an Account:
Navigate to the Dashboard: Log in to your InboxComponents dashboard.
Access the Accounts Section: Click on the Accounts tab in the main menu.
Add a New Account: Select Add Account and choose the desired communication platform (e.g., WhatsApp).
Configure Account Details: Enter the necessary information, such as account name and authentication credentials.
Save and Authenticate: Click Save to authenticate and establish the connection.
By following these steps, dashboard owners can centrally manage communication accounts, ensuring streamlined operations and oversight.
You can manage your accounts here: https://app.inboxcomponents.com/portal/account
🔒 Customers: Adding accounts via the embedded inbox
Customers can integrate their own communication accounts directly within the embedded inbox of the host application. This approach enhances security by allowing customers to manage their credentials without exposing them to external parties.
Benefits of Customer-Managed Integration:
Enhanced Security: Customers retain control over their authentication credentials, reducing the risk of data exposure.
Personalized Experience: Enables customization of communication channels to align with individual preferences.
Operational Efficiency: Streamlines the integration process by allowing direct account management within the application.
Steps for Customers to Add an Account:
Access the Embedded Inbox: Log in to the host application and navigate to the embedded inbox feature.
Initiate Account Integration: Select the option to add a new account and choose the desired platform (e.g., WhatsApp).
Authenticate the Account: Follow the on-screen instructions to enter authentication details and grant necessary permissions.
Confirm Integration: Upon successful authentication, the account will be linked and ready for use within the embedded inbox.
This method empowers customers to securely connect their communication channels, fostering trust and autonomy in managing their interactions.
Future integrations
We are actively working to expand our supported integrations to include:
LinkedIn: Facilitating professional networking and communication.
Telegram: Enabling messaging through the popular Telegram platform.
InstaGram: Allowing interactions via Instagram's messaging features.
Email: Integrating traditional email communication channels.
API Documentation
Returns all connected accounts across all integrations. These accounts are used by the inbox to fetch and send messages.
JWT token authentication (login via /authentication/login_check)
The collection page number
1Account collection
Forbidden
GET /api/accounts HTTP/1.1
Host: app.inboxcomponents.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"member": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"username": "Michael Scott",
"description": "Regional Manager at Dunder Mifflin",
"avatarUrl": "https://example.com/avatars/michael_scott.png",
"accountType": "whatsapp",
"integrationLogo": "whatsapp",
"integration": "\"/api/integrations/whatsapp",
"isAuthorized": true,
"sharePastHistory": true,
"reconnectUrl": null,
"createdAt": "2025-12-06T04:35:33.192Z",
"disconnectedAt": null,
"historySyncUntil": null,
"clientId": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0",
"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
}
]
}
}Returns details of a specific connected account (e.g., WhatsApp number or LinkedIn login).
JWT token authentication (login via /authentication/login_check)
Account identifier
Account resource
Forbidden
Not found
GET /api/accounts/{id} HTTP/1.1
Host: app.inboxcomponents.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"@context": "text",
"@id": "text",
"@type": "text",
"username": "Michael Scott",
"description": "Regional Manager at Dunder Mifflin",
"avatarUrl": "https://example.com/avatars/michael_scott.png",
"accountType": "whatsapp",
"integrationLogo": "whatsapp",
"integration": "\"/api/integrations/whatsapp",
"isAuthorized": true,
"sharePastHistory": true,
"reconnectUrl": null,
"createdAt": "2025-12-06T04:35:33.192Z",
"disconnectedAt": null,
"historySyncUntil": null,
"clientId": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0",
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Connects a new account (e.g., WhatsApp, LinkedIn, etc.) to the inbox. The payload includes authentication and setup details.
JWT token authentication (login via /authentication/login_check)
Represents a connected account for an integration, such as a specific WhatsApp number, LinkedIn profile, or Instagram account. These are used by the inbox to send and receive messages.
/integrations/{id}Account resource created
Invalid input
Forbidden
An error occurred
POST /api/accounts HTTP/1.1
Host: app.inboxcomponents.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/ld+json
Accept: */*
Content-Length: 60
{
"integration": "/integrations/{id}",
"historySyncUntil": null
}{
"@context": "text",
"@id": "text",
"@type": "text",
"username": "Michael Scott",
"description": "Regional Manager at Dunder Mifflin",
"avatarUrl": "https://example.com/avatars/michael_scott.png",
"accountType": "whatsapp",
"integrationLogo": "whatsapp",
"integration": "\"/api/integrations/whatsapp",
"isAuthorized": true,
"sharePastHistory": true,
"reconnectUrl": null,
"createdAt": "2025-12-06T04:35:33.192Z",
"disconnectedAt": null,
"historySyncUntil": null,
"clientId": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0",
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Removes a connected account from the inbox system.
JWT token authentication (login via /authentication/login_check)
Account identifier
Account resource deleted
Forbidden
Not found
DELETE /api/accounts/{id} HTTP/1.1
Host: app.inboxcomponents.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Updates configuration details for a connected account, such as access settings or metadata.
JWT token authentication (login via /authentication/login_check)
Account identifier
Represents a connected account for an integration, such as a specific WhatsApp number, LinkedIn profile, or Instagram account. These are used by the inbox to send and receive messages.
Michael ScottRegional Manager at Dunder Mifflinhttps://example.com/avatars/michael_scott.pngwhatsappwhatsapp"/api/integrations/whatsappe6a2e786-2ce0-444a-b08c-ca21ed816bf0e6a2e786-2ce0-444a-b08c-ca21ed816bf0Account resource updated
Invalid input
Forbidden
Not found
An error occurred
PUT /api/accounts/{id} HTTP/1.1
Host: app.inboxcomponents.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/ld+json
Accept: */*
Content-Length: 481
{
"username": "Michael Scott",
"description": "Regional Manager at Dunder Mifflin",
"avatarUrl": "https://example.com/avatars/michael_scott.png",
"accountType": "whatsapp",
"integrationLogo": "whatsapp",
"integration": "\"/api/integrations/whatsapp",
"isAuthorized": true,
"sharePastHistory": true,
"reconnectUrl": null,
"createdAt": "2025-12-06T04:35:33.192Z",
"disconnectedAt": null,
"historySyncUntil": null,
"clientId": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0",
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}{
"@context": "text",
"@id": "text",
"@type": "text",
"username": "Michael Scott",
"description": "Regional Manager at Dunder Mifflin",
"avatarUrl": "https://example.com/avatars/michael_scott.png",
"accountType": "whatsapp",
"integrationLogo": "whatsapp",
"integration": "\"/api/integrations/whatsapp",
"isAuthorized": true,
"sharePastHistory": true,
"reconnectUrl": null,
"createdAt": "2025-12-06T04:35:33.192Z",
"disconnectedAt": null,
"historySyncUntil": null,
"clientId": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0",
"id": "e6a2e786-2ce0-444a-b08c-ca21ed816bf0"
}Last updated
Was this helpful?
