curl --location --request PUT 'https://localhost/api/v1/prompts/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"visibility": "public",
"profile_photo_key": "string",
"profile_photo_config": {
"emoji": "string",
"background_color": "string",
"preference": "emoji"
},
"content": "string",
"metadata": {
"input": [
{
"key": "string",
"label": "string",
"type": "string",
"required": true,
"options": [
"string"
]
}
],
"property1": "string",
"property2": "string"
},
"with": "string"
}'{
"data": {
"uuid": "65c5b135-b873-4066-9868-9dc3c0c41a84",
"name": "Dr. Guy Fahey",
"description": "Summisse deficio abscido demulceo caste laudantium. Terra traho substantia confugo sufficio aliqua coniuratio. Tabula atque ab vomica despecto quas. Tergeo spectaculum animus degusto adopto vestrum adeo dolore synagoga quas. Ex amet soluta cognatus culpa ",
"profile_photo_url": "https://loremflickr.com/400/400?lock=5327740869203349",
"profile_photo_config": null,
"content": "Speciosus illum corroboro doloribus super conscendo. Dolor ubi carpo antepono accusamus pariatur arbitro vacuus quo armarium. Demoror provident ustilo vilicus suppellex defero ratione thermae.",
"visibility": "public",
"is_owner": false,
"metadata": {
"input": [
"Reference not found $ref: #/$defs/PromptInputField",
"Reference not found $ref: #/$defs/PromptInputField"
],
"ea_d": false
},
"created_at": "2025-06-18T21:01:25.997Z",
"updated_at": "2025-02-05",
"user": {
"id": 123,
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"profile_photo_url": "https://example.com/storage/photos/user-123.jpg",
"multiplai_id": "multiplai_abc123def456",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"primary_workspace": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"slug": "my-ai-workspace",
"name": "My AI Workspace",
"profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
"multiplai_id": "multiplai_workspace_abc123",
"is_onboarded": true,
"metadata": {
"onboarding_step": 75,
"sources": [
"google_search",
"social_media",
"referral"
],
"affiliate_name": "John Doe Marketing",
"role": "Product Manager",
"industry": "Technology",
"tools": [
"slack",
"notion",
"github"
],
"ai_tools": {
"agents": [
{
"emoji": "🤖",
"name": "Customer Support Bot",
"description": "Handles customer inquiries and support tickets"
}
],
"prompts": [
{
"emoji": "✍️",
"name": "Email Writer",
"description": "Generates professional email responses"
}
],
"workflows": [
{
"emoji": "⚡",
"name": "Lead Processing",
"description": "Automatically processes and qualifies incoming leads"
}
]
},
"est7": "velit mollit aliquip consectetur"
},
"is_owner": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"user": null
}
},
"workspace": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"slug": "my-ai-workspace",
"name": "My AI Workspace",
"profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
"multiplai_id": "multiplai_workspace_abc123",
"is_onboarded": true,
"metadata": {
"onboarding_step": 75,
"sources": [
"google_search",
"social_media",
"referral"
],
"affiliate_name": "John Doe Marketing",
"role": "Product Manager",
"industry": "Technology",
"tools": [
"slack",
"notion",
"github"
],
"ai_tools": {
"agents": [
{
"emoji": "🤖",
"name": "Customer Support Bot",
"description": "Handles customer inquiries and support tickets"
}
],
"prompts": [
{
"emoji": "✍️",
"name": "Email Writer",
"description": "Generates professional email responses"
}
],
"workflows": [
{
"emoji": "⚡",
"name": "Lead Processing",
"description": "Automatically processes and qualifies incoming leads"
}
]
}
},
"is_owner": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"user": {
"id": 123,
"name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"profile_photo_url": "https://example.com/storage/photos/user-123.jpg",
"multiplai_id": "multiplai_abc123def456",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"primary_workspace": {
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"slug": "my-ai-workspace",
"name": "My AI Workspace",
"profile_photo_url": "https://example.com/storage/workspaces/workspace-123.jpg",
"multiplai_id": "multiplai_workspace_abc123",
"is_onboarded": true,
"metadata": {
"onboarding_step": 75,
"sources": [
"google_search",
"social_media",
"referral"
],
"affiliate_name": "John Doe Marketing",
"role": "Product Manager",
"industry": "Technology",
"tools": [
"slack",
"notion",
"github"
],
"ai_tools": {
"agents": [
{
"emoji": "🤖",
"name": "Customer Support Bot",
"description": "Handles customer inquiries and support tickets"
}
],
"prompts": [
{
"emoji": "✍️",
"name": "Email Writer",
"description": "Generates professional email responses"
}
],
"workflows": [
{
"emoji": "⚡",
"name": "Lead Processing",
"description": "Automatically processes and qualifies incoming leads"
}
]
}
},
"is_owner": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"user": null
}
}
}
}
}