curl --request GET \
--url https://api.example.com/prompts/ \
--header 'Authorization: Bearer <token>'{
"prompts": [
{
"id": "<string>",
"email": "<string>",
"prompt_type": "<string>",
"title": "<string>",
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"category_name": "<string>",
"icon": "<string>",
"tags": [
"<string>"
]
}
],
"total": 123
}Get all prompts for the current user.
curl --request GET \
--url https://api.example.com/prompts/ \
--header 'Authorization: Bearer <token>'{
"prompts": [
{
"id": "<string>",
"email": "<string>",
"prompt_type": "<string>",
"title": "<string>",
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"category_name": "<string>",
"icon": "<string>",
"tags": [
"<string>"
]
}
],
"total": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?