Skip to content

CreateAgentConnectorRequest

Example Usage

typescript
import { CreateAgentConnectorRequest } from "@meetkai/mka1/models/operations";

let value: CreateAgentConnectorRequest = {
  id: "<id>",
  createAgentConnectorRequest: {
    provider: "whatsapp",
    credentials: {
      accessToken: "<value>",
      appSecret: "<value>",
    },
    account: {
      appId: "<id>",
      whatsappBusinessAccountId: "<id>",
      phoneNumberId: "<id>",
    },
    access: {
      mode: "allowlist",
      userIds: [
        "<value 1>",
      ],
    },
  },
};

Fields

FieldTypeRequiredDescription
idstring✔️The agent ID.
xOnBehalfOfstringOptional external end-user identifier forwarded by the API gateway.
createAgentConnectorRequestcomponents.CreateAgentConnectorRequest✔️N/A