Share Agent
Agent API Endpoints
Share Agent
Share a specific agent with one or more users via their email addresses.
POST
Share Agent
Grant other users access to a specific Voice Agent. This endpoint is ideal for collaborative environments where multiple team members need to view, test, or manage the same agent configuration. Instead of requiring internal user IDs, you can simply invite users using their email addresses.Documentation Index
Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Required: You must include your API key in the
x-api-key header to authenticate this request. Ensure the API key belongs to a user with permission to share this agent.Required Parameters & Payload
agentId(Path Parameter): Provide the unique 24-character ID of the agent you are sharing directly in the URL.- Request Body: You must pass a JSON payload specifying who receives access.
email_ids: An array of strings containing the email addresses of the users you want to invite.admin_user_id: The ID of the administrator or owner who is authorizing this share action.
Example Usage
If you want to share an agent with two developers on your team, your request body would look like this:Authorizations
Path Parameters
The unique identifier of the agent to be shared.
Example:
"f790923795a23467555c0ad6"
Body
application/json
Response
Share operation completed successfully.
The response is of type object.