curl --request GET \
--url http://localhost:8080/api/v1/ai/prompts \
--header 'Authorization: Basic <encoded-value>'{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-30T10:00:00Z",
"updated_at": "2025-08-30T10:00:00Z",
"key": "reply_friendly",
"title": "Friendly Reply"
}
]
}curl --request GET \
--url http://localhost:8080/api/v1/ai/prompts \
--header 'Authorization: Basic <encoded-value>'{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-30T10:00:00Z",
"updated_at": "2025-08-30T10:00:00Z",
"key": "reply_friendly",
"title": "Friendly Reply"
}
]
}Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
AI prompts retrieved successfully
"success"
Show child attributes
Unique prompt ID
1
"2025-08-30T10:00:00Z"
"2025-08-30T10:00:00Z"
Unique key identifier for the prompt
"reply_friendly"
Display title of the prompt
"Friendly Reply"
Was this page helpful?