All URIs are relative to https://base.manager.iblai.app
Method | HTTP request | Description |
---|---|---|
ai_bot_v1_bots_bot_commands_create | POST /api/ai-bot/v1/bots/{org}/bot-commands/ | |
ai_bot_v1_bots_bot_commands_destroy | DELETE /api/ai-bot/v1/bots/{org}/bot-commands/{id}/ | |
ai_bot_v1_bots_bot_commands_list | GET /api/ai-bot/v1/bots/{org}/bot-commands/ | |
ai_bot_v1_bots_bot_commands_partial_update | PATCH /api/ai-bot/v1/bots/{org}/bot-commands/{id}/ | |
ai_bot_v1_bots_bot_commands_retrieve | GET /api/ai-bot/v1/bots/{org}/bot-commands/{id}/ | |
ai_bot_v1_bots_bot_commands_update | PUT /api/ai-bot/v1/bots/{org}/bot-commands/{id}/ | |
ai_bot_v1_bots_bot_create | POST /api/ai-bot/v1/bots/{org}/bot/ | |
ai_bot_v1_bots_bot_destroy | DELETE /api/ai-bot/v1/bots/{org}/bot/{id}/ | |
ai_bot_v1_bots_bot_list | GET /api/ai-bot/v1/bots/{org}/bot/ | |
ai_bot_v1_bots_bot_partial_update | PATCH /api/ai-bot/v1/bots/{org}/bot/{id}/ | |
ai_bot_v1_bots_bot_retrieve | GET /api/ai-bot/v1/bots/{org}/bot/{id}/ | |
ai_bot_v1_bots_bot_update | PUT /api/ai-bot/v1/bots/{org}/bot/{id}/ | |
ai_bot_v1_bots_discord_user_config_create | POST /api/ai-bot/v1/bots/{org}/discord-user-config/ | |
ai_bot_v1_bots_discord_user_config_destroy | DELETE /api/ai-bot/v1/bots/{org}/discord-user-config/{id}/ | |
ai_bot_v1_bots_discord_user_config_list | GET /api/ai-bot/v1/bots/{org}/discord-user-config/ | |
ai_bot_v1_bots_discord_user_config_partial_update | PATCH /api/ai-bot/v1/bots/{org}/discord-user-config/{id}/ | |
ai_bot_v1_bots_discord_user_config_retrieve | GET /api/ai-bot/v1/bots/{org}/discord-user-config/{id}/ | |
ai_bot_v1_bots_discord_user_config_update | PUT /api/ai-bot/v1/bots/{org}/discord-user-config/{id}/ | |
ai_bot_v1_bots_slack_user_config_create | POST /api/ai-bot/v1/bots/{org}/slack-user-config/ | |
ai_bot_v1_bots_slack_user_config_destroy | DELETE /api/ai-bot/v1/bots/{org}/slack-user-config/{id}/ | |
ai_bot_v1_bots_slack_user_config_list | GET /api/ai-bot/v1/bots/{org}/slack-user-config/ | |
ai_bot_v1_bots_slack_user_config_partial_update | PATCH /api/ai-bot/v1/bots/{org}/slack-user-config/{id}/ | |
ai_bot_v1_bots_slack_user_config_retrieve | GET /api/ai-bot/v1/bots/{org}/slack-user-config/{id}/ | |
ai_bot_v1_bots_slack_user_config_update | PUT /api/ai-bot/v1/bots/{org}/slack-user-config/{id}/ | |
ai_bot_v1_bots_webhooks_discord_create | POST /api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/ | |
ai_bot_v1_bots_webhooks_slack_create | POST /api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/ | |
ai_bot_v1_bots_webhooks_webex_create | POST /api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/ | |
ai_bot_v1_bots_webhooks_whatsapp_create | POST /api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/ | |
ai_bot_v1_bots_webhooks_whatsapp_retrieve | GET /api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/ | |
ai_bot_v1_bots_whatsapp_user_config_create | POST /api/ai-bot/v1/bots/{org}/whatsapp-user-config/ | |
ai_bot_v1_bots_whatsapp_user_config_destroy | DELETE /api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/ | |
ai_bot_v1_bots_whatsapp_user_config_list | GET /api/ai-bot/v1/bots/{org}/whatsapp-user-config/ | |
ai_bot_v1_bots_whatsapp_user_config_partial_update | PATCH /api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/ | |
ai_bot_v1_bots_whatsapp_user_config_retrieve | GET /api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/ | |
ai_bot_v1_bots_whatsapp_user_config_update | PUT /api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/ |
BotCommand ai_bot_v1_bots_bot_commands_create(org, bot_command)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_command import BotCommand
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
bot_command = iblai.BotCommand() # BotCommand |
try:
api_response = api_instance.ai_bot_v1_bots_bot_commands_create(org, bot_command)
print("The response of AiBotApi->ai_bot_v1_bots_bot_commands_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str | ||
bot_command | BotCommand |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ai_bot_v1_bots_bot_commands_destroy(id, org)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot command.
org = 'org_example' # str |
try:
api_instance.ai_bot_v1_bots_bot_commands_destroy(id, org)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_destroy: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot command. | |
org | str |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[BotCommand] ai_bot_v1_bots_bot_commands_list(org)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_command import BotCommand
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_bot_commands_list(org)
print("The response of AiBotApi->ai_bot_v1_bots_bot_commands_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCommand ai_bot_v1_bots_bot_commands_partial_update(id, org, patched_bot_command=patched_bot_command)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_command import BotCommand
from iblai.models.patched_bot_command import PatchedBotCommand
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot command.
org = 'org_example' # str |
patched_bot_command = iblai.PatchedBotCommand() # PatchedBotCommand | (optional)
try:
api_response = api_instance.ai_bot_v1_bots_bot_commands_partial_update(id, org, patched_bot_command=patched_bot_command)
print("The response of AiBotApi->ai_bot_v1_bots_bot_commands_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_partial_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot command. | |
org | str | ||
patched_bot_command | PatchedBotCommand | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCommand ai_bot_v1_bots_bot_commands_retrieve(id, org)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_command import BotCommand
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot command.
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_bot_commands_retrieve(id, org)
print("The response of AiBotApi->ai_bot_v1_bots_bot_commands_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot command. | |
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCommand ai_bot_v1_bots_bot_commands_update(id, org, bot_command)
Create slash commands for a specific bot eg. /iblai-baseline
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_command import BotCommand
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot command.
org = 'org_example' # str |
bot_command = iblai.BotCommand() # BotCommand |
try:
api_response = api_instance.ai_bot_v1_bots_bot_commands_update(id, org, bot_command)
print("The response of AiBotApi->ai_bot_v1_bots_bot_commands_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_commands_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot command. | |
org | str | ||
bot_command | BotCommand |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCreate ai_bot_v1_bots_bot_create(org, bot_create)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_create import BotCreate
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
bot_create = iblai.BotCreate() # BotCreate |
try:
api_response = api_instance.ai_bot_v1_bots_bot_create(org, bot_create)
print("The response of AiBotApi->ai_bot_v1_bots_bot_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str | ||
bot_create | BotCreate |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ai_bot_v1_bots_bot_destroy(id, org)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot.
org = 'org_example' # str |
try:
api_instance.ai_bot_v1_bots_bot_destroy(id, org)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_destroy: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot. | |
org | str |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[Bot] ai_bot_v1_bots_bot_list(org)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot import Bot
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_bot_list(org)
print("The response of AiBotApi->ai_bot_v1_bots_bot_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCreate ai_bot_v1_bots_bot_partial_update(id, org, patched_bot_create=patched_bot_create)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_create import BotCreate
from iblai.models.patched_bot_create import PatchedBotCreate
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot.
org = 'org_example' # str |
patched_bot_create = iblai.PatchedBotCreate() # PatchedBotCreate | (optional)
try:
api_response = api_instance.ai_bot_v1_bots_bot_partial_update(id, org, patched_bot_create=patched_bot_create)
print("The response of AiBotApi->ai_bot_v1_bots_bot_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_partial_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot. | |
org | str | ||
patched_bot_create | PatchedBotCreate | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Bot ai_bot_v1_bots_bot_retrieve(id, org)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot import Bot
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot.
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_bot_retrieve(id, org)
print("The response of AiBotApi->ai_bot_v1_bots_bot_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot. | |
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BotCreate ai_bot_v1_bots_bot_update(id, org, bot_create)
Create modify and update bot information for a specific tenant.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.bot_create import BotCreate
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this bot.
org = 'org_example' # str |
bot_create = iblai.BotCreate() # BotCreate |
try:
api_response = api_instance.ai_bot_v1_bots_bot_update(id, org, bot_create)
print("The response of AiBotApi->ai_bot_v1_bots_bot_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_bot_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this bot. | |
org | str | ||
bot_create | BotCreate |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscordConfig ai_bot_v1_bots_discord_user_config_create(org, discord_config)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.discord_config import DiscordConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
discord_config = iblai.DiscordConfig() # DiscordConfig |
try:
api_response = api_instance.ai_bot_v1_bots_discord_user_config_create(org, discord_config)
print("The response of AiBotApi->ai_bot_v1_bots_discord_user_config_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str | ||
discord_config | DiscordConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ai_bot_v1_bots_discord_user_config_destroy(id, org)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this discord user config.
org = 'org_example' # str |
try:
api_instance.ai_bot_v1_bots_discord_user_config_destroy(id, org)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_destroy: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this discord user config. | |
org | str |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[DiscordConfig] ai_bot_v1_bots_discord_user_config_list(org)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.discord_config import DiscordConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_discord_user_config_list(org)
print("The response of AiBotApi->ai_bot_v1_bots_discord_user_config_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscordConfig ai_bot_v1_bots_discord_user_config_partial_update(id, org, patched_discord_config=patched_discord_config)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.discord_config import DiscordConfig
from iblai.models.patched_discord_config import PatchedDiscordConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this discord user config.
org = 'org_example' # str |
patched_discord_config = iblai.PatchedDiscordConfig() # PatchedDiscordConfig | (optional)
try:
api_response = api_instance.ai_bot_v1_bots_discord_user_config_partial_update(id, org, patched_discord_config=patched_discord_config)
print("The response of AiBotApi->ai_bot_v1_bots_discord_user_config_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_partial_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this discord user config. | |
org | str | ||
patched_discord_config | PatchedDiscordConfig | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscordConfig ai_bot_v1_bots_discord_user_config_retrieve(id, org)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.discord_config import DiscordConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this discord user config.
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_discord_user_config_retrieve(id, org)
print("The response of AiBotApi->ai_bot_v1_bots_discord_user_config_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this discord user config. | |
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscordConfig ai_bot_v1_bots_discord_user_config_update(id, org, discord_config)
Setup discord user id linkage with discord bots this will be used to authenticate the user when interracting with discord bots. the user id can be copied from the discord app after tapping on the user profile.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.discord_config import DiscordConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this discord user config.
org = 'org_example' # str |
discord_config = iblai.DiscordConfig() # DiscordConfig |
try:
api_response = api_instance.ai_bot_v1_bots_discord_user_config_update(id, org, discord_config)
print("The response of AiBotApi->ai_bot_v1_bots_discord_user_config_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_discord_user_config_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this discord user config. | |
org | str | ||
discord_config | DiscordConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackConfig ai_bot_v1_bots_slack_user_config_create(org, slack_config)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.slack_config import SlackConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
slack_config = iblai.SlackConfig() # SlackConfig |
try:
api_response = api_instance.ai_bot_v1_bots_slack_user_config_create(org, slack_config)
print("The response of AiBotApi->ai_bot_v1_bots_slack_user_config_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str | ||
slack_config | SlackConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ai_bot_v1_bots_slack_user_config_destroy(id, org)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this slack user config.
org = 'org_example' # str |
try:
api_instance.ai_bot_v1_bots_slack_user_config_destroy(id, org)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_destroy: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this slack user config. | |
org | str |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[SlackConfig] ai_bot_v1_bots_slack_user_config_list(org)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.slack_config import SlackConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_slack_user_config_list(org)
print("The response of AiBotApi->ai_bot_v1_bots_slack_user_config_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackConfig ai_bot_v1_bots_slack_user_config_partial_update(id, org, patched_slack_config=patched_slack_config)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.patched_slack_config import PatchedSlackConfig
from iblai.models.slack_config import SlackConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this slack user config.
org = 'org_example' # str |
patched_slack_config = iblai.PatchedSlackConfig() # PatchedSlackConfig | (optional)
try:
api_response = api_instance.ai_bot_v1_bots_slack_user_config_partial_update(id, org, patched_slack_config=patched_slack_config)
print("The response of AiBotApi->ai_bot_v1_bots_slack_user_config_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_partial_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this slack user config. | |
org | str | ||
patched_slack_config | PatchedSlackConfig | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackConfig ai_bot_v1_bots_slack_user_config_retrieve(id, org)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.slack_config import SlackConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this slack user config.
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_slack_user_config_retrieve(id, org)
print("The response of AiBotApi->ai_bot_v1_bots_slack_user_config_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this slack user config. | |
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackConfig ai_bot_v1_bots_slack_user_config_update(id, org, slack_config)
Setup slack username and domain linkage with slack bots this will be used to authenticate the user when interracting with slack bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.slack_config import SlackConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this slack user config.
org = 'org_example' # str |
slack_config = iblai.SlackConfig() # SlackConfig |
try:
api_response = api_instance.ai_bot_v1_bots_slack_user_config_update(id, org, slack_config)
print("The response of AiBotApi->ai_bot_v1_bots_slack_user_config_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_slack_user_config_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this slack user config. | |
org | str | ||
slack_config | SlackConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscordWebhook ai_bot_v1_bots_webhooks_discord_create(name, org, discord_webhook)
Webhook endpoint to receive and process discord messages.
import iblai
from iblai.models.discord_webhook import DiscordWebhook
from iblai.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
name = 'name_example' # str |
org = 'org_example' # str |
discord_webhook = iblai.DiscordWebhook() # DiscordWebhook |
try:
api_response = api_instance.ai_bot_v1_bots_webhooks_discord_create(name, org, discord_webhook)
print("The response of AiBotApi->ai_bot_v1_bots_webhooks_discord_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_webhooks_discord_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | ||
org | str | ||
discord_webhook | DiscordWebhook |
No authorization required
- Content-Type: application/json, multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SlackWebhook ai_bot_v1_bots_webhooks_slack_create(name, org, slack_webhook)
import iblai
from iblai.models.slack_webhook import SlackWebhook
from iblai.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
name = 'name_example' # str |
org = 'org_example' # str |
slack_webhook = iblai.SlackWebhook() # SlackWebhook |
try:
api_response = api_instance.ai_bot_v1_bots_webhooks_slack_create(name, org, slack_webhook)
print("The response of AiBotApi->ai_bot_v1_bots_webhooks_slack_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_webhooks_slack_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | ||
org | str | ||
slack_webhook | SlackWebhook |
No authorization required
- Content-Type: application/json, multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WebexWebhook ai_bot_v1_bots_webhooks_webex_create(name, org, webex_webhook)
Webhook endpoint to receive and process discord messages.
import iblai
from iblai.models.webex_webhook import WebexWebhook
from iblai.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
name = 'name_example' # str |
org = 'org_example' # str |
webex_webhook = iblai.WebexWebhook() # WebexWebhook |
try:
api_response = api_instance.ai_bot_v1_bots_webhooks_webex_create(name, org, webex_webhook)
print("The response of AiBotApi->ai_bot_v1_bots_webhooks_webex_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_webhooks_webex_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | ||
org | str | ||
webex_webhook | WebexWebhook |
No authorization required
- Content-Type: application/json, multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatAppWebHook ai_bot_v1_bots_webhooks_whatsapp_create(name, org, what_app_web_hook)
Accept and process webhook events from whatsapp.
import iblai
from iblai.models.what_app_web_hook import WhatAppWebHook
from iblai.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
name = 'name_example' # str |
org = 'org_example' # str |
what_app_web_hook = iblai.WhatAppWebHook() # WhatAppWebHook |
try:
api_response = api_instance.ai_bot_v1_bots_webhooks_whatsapp_create(name, org, what_app_web_hook)
print("The response of AiBotApi->ai_bot_v1_bots_webhooks_whatsapp_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_webhooks_whatsapp_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | ||
org | str | ||
what_app_web_hook | WhatAppWebHook |
No authorization required
- Content-Type: application/json, multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatAppWebHook ai_bot_v1_bots_webhooks_whatsapp_retrieve(name, org)
Respond to whatsapp's webhook challenge. Parameters Required include the tenant key (org) and the name of the bot: (name)
import iblai
from iblai.models.what_app_web_hook import WhatAppWebHook
from iblai.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
name = 'name_example' # str |
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_webhooks_whatsapp_retrieve(name, org)
print("The response of AiBotApi->ai_bot_v1_bots_webhooks_whatsapp_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_webhooks_whatsapp_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str | ||
org | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatsappConfig ai_bot_v1_bots_whatsapp_user_config_create(org, whatsapp_config)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.whatsapp_config import WhatsappConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
whatsapp_config = iblai.WhatsappConfig() # WhatsappConfig |
try:
api_response = api_instance.ai_bot_v1_bots_whatsapp_user_config_create(org, whatsapp_config)
print("The response of AiBotApi->ai_bot_v1_bots_whatsapp_user_config_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_create: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str | ||
whatsapp_config | WhatsappConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ai_bot_v1_bots_whatsapp_user_config_destroy(id, org)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this whatsapp user config.
org = 'org_example' # str |
try:
api_instance.ai_bot_v1_bots_whatsapp_user_config_destroy(id, org)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_destroy: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this whatsapp user config. | |
org | str |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[WhatsappConfig] ai_bot_v1_bots_whatsapp_user_config_list(org)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.whatsapp_config import WhatsappConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_whatsapp_user_config_list(org)
print("The response of AiBotApi->ai_bot_v1_bots_whatsapp_user_config_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_list: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatsappConfig ai_bot_v1_bots_whatsapp_user_config_partial_update(id, org, patched_whatsapp_config=patched_whatsapp_config)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.patched_whatsapp_config import PatchedWhatsappConfig
from iblai.models.whatsapp_config import WhatsappConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this whatsapp user config.
org = 'org_example' # str |
patched_whatsapp_config = iblai.PatchedWhatsappConfig() # PatchedWhatsappConfig | (optional)
try:
api_response = api_instance.ai_bot_v1_bots_whatsapp_user_config_partial_update(id, org, patched_whatsapp_config=patched_whatsapp_config)
print("The response of AiBotApi->ai_bot_v1_bots_whatsapp_user_config_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_partial_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this whatsapp user config. | |
org | str | ||
patched_whatsapp_config | PatchedWhatsappConfig | [optional] |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatsappConfig ai_bot_v1_bots_whatsapp_user_config_retrieve(id, org)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.whatsapp_config import WhatsappConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this whatsapp user config.
org = 'org_example' # str |
try:
api_response = api_instance.ai_bot_v1_bots_whatsapp_user_config_retrieve(id, org)
print("The response of AiBotApi->ai_bot_v1_bots_whatsapp_user_config_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_retrieve: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this whatsapp user config. | |
org | str |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WhatsappConfig ai_bot_v1_bots_whatsapp_user_config_update(id, org, whatsapp_config)
Setup phone number linkage with whatsapp bots This phone number will be used to authenticate and allow access to whatsapp bots.
- Api Key Authentication (PlatformApiKeyAuthentication):
import iblai
from iblai.models.whatsapp_config import WhatsappConfig
from iblai.rest import ApiException
from pprint import pprint
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# The APIs use bearer tokens for authentication with a prefix of: `Api-Key`
# You can generate an authenticated client using the following helper method
client = get_platform_api_client(
host="https://base.manager.iblai.app",
key=os.environ["API_KEY"]
)
# Create an instance of the API class
api_instance = iblai.AiBotApi(api_client)
id = 56 # int | A unique integer value identifying this whatsapp user config.
org = 'org_example' # str |
whatsapp_config = iblai.WhatsappConfig() # WhatsappConfig |
try:
api_response = api_instance.ai_bot_v1_bots_whatsapp_user_config_update(id, org, whatsapp_config)
print("The response of AiBotApi->ai_bot_v1_bots_whatsapp_user_config_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AiBotApi->ai_bot_v1_bots_whatsapp_user_config_update: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | A unique integer value identifying this whatsapp user config. | |
org | str | ||
whatsapp_config | WhatsappConfig |
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]