Skip to main content

createTestimonial

client.agentPortfolioApi.createTestimonial(data: CreateTestimonialRequest): Promise<AgentTestimonial>

Creates a new testimonial for an agent.

Adds a testimonial or review to an agent's portfolio, recording feedback about their performance.

Parameters

ParameterTypeRequiredDescription
dataCreateTestimonialRequestYesThe testimonial creation payload

Returns

Promise<AgentTestimonial> — A promise that resolves to the created AgentTestimonial

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agentPortfolioApi.createTestimonial(/* CreateTestimonialRequest */);
console.log(result);