Skip to main content
POST
/
publish-agent
/
{agent_id}
JavaScript
import Retell from 'retell-sdk';

const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
});

await client.agent.publish('16b980523634a6dc504898cda492e939');
This response does not have an example.

Authorizations

Authorization
string
header
required

Authentication header containing API key (find it in dashboard). The format is "Bearer YOUR_API_KEY"

Path Parameters

agent_id
string
required

Unique id of the agent to be published.

Example:

"16b980523634a6dc504898cda492e939"

Response

Agent successfully published

I