Connecting to Landbot
Using API Key Authentication
Landbot uses token-based authentication. Obtain your agent token from Settings > Account in your Landbot account.
Set the following connection properties:
- AuthScheme: Set this to APIKey.
- APIKey: Set this to your Landbot agent token.
Sample Connection String
Profile=C:\profiles\Landbot.apip;AuthScheme=APIKey;APIKey=your_agent_token_here;
Usage Examples
Agents:
SELECT * FROM Agents
Channels:
SELECT * FROM Channels
CustomerFields:
SELECT * FROM CustomerFields WHERE CustomerId = 12345 AND FieldName = 'email'
Customers:
SELECT * FROM Customers
MessageHooks:
SELECT * FROM MessageHooks WHERE ChannelId = 12345
WhatsAppTemplates:
SELECT * FROM WhatsAppTemplates
Connection Properties
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider.
| Property | Description |
| APIKey | The API Key from your Landbot account. |
| AuthScheme | The scheme used for authentication. Accepted entries are APIKey or None. Allowed values are: BASIC, NONE, NTLM, OAUTH, APIKEY, OAUTH_CLIENT |