v1ConvaiAgentsAgentIdLinkGet method

Future<Response<GetAgentLinkResponseModel>> v1ConvaiAgentsAgentIdLinkGet({
  1. required String? agentId,
  2. String? xiApiKey,
})

Get Shareable Agent Link @param agent_id The id of an agent. This is returned on agent creation. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<GetAgentLinkResponseModel>>
v1ConvaiAgentsAgentIdLinkGet({required String? agentId, String? xiApiKey}) {
  generatedMapping.putIfAbsent(
    GetAgentLinkResponseModel,
    () => GetAgentLinkResponseModel.fromJsonFactory,
  );

  return _v1ConvaiAgentsAgentIdLinkGet(
    agentId: agentId,
    xiApiKey: xiApiKey?.toString(),
  );
}