This endpoint is used to update the image URL of an agent.
Request Parameters
The unique identifier for the agent (UUID format)
The new image URL for the agent
Response
Status of the operation (e.g., “success”)
Success message indicating the agent image URL was updated
The agent ID that was updated (UUID format)
The updated agent image URL
Behavior
- Updates the image URL for the specified agent in our internal database
Authentication
B2B JWT token OR Privy authentication token and headers
When using Privy authentication token, include the following header:
x-privy-id-token: Privy ID token
{
"agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
"imageUrl": "https://example.com/image.png"
}
{
"status": "success",
"message": "Agent 2fe35eeb-5aa6-4564-94c2-2ce44e65625d image URL updated",
"agentId": "2fe35eeb-5aa6-4564-94c2-2ce44e65625d",
"imageUrl": "https://example.com/image.png"
}