Skip to main content
GET
/
api
/
presets
List Presets
curl --request GET \
  --url https://easy-peasy.ai/api/presets \
  --header 'x-api-key: <api-key>'
{
  "presets": [
    {
      "slug": "custom-generator",
      "title": "Custom Generator",
      "description": "Generate custom text for any purpose.",
      "category": [
        "Tools",
        "Content",
        "Marketing",
        "Other",
        "Social Media",
        "Business",
        "Resume"
      ],
      "isFree": false
    },
    {
      "slug": "paragraph-writer",
      "title": "Paragraph Writer",
      "description": "Generate paragraphs with the click of a button!",
      "category": [
        "Tools",
        "Content",
        "Social Media",
        "Marketing",
        "Business"
      ],
      "isFree": true
    }
  ],
  "total": 2,
  "categories": [
    "Social Media",
    "Content",
    "Business",
    "HR",
    "Marketing",
    "Resume",
    "Education",
    "Project Management",
    "Tools",
    "Other"
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at https://easy-peasy.ai/settings/api

Headers

x-api-key
string
required

Your API key

Query Parameters

category
enum<string>

Filter presets by category

Available options:
Social Media,
Content,
Business,
HR,
Marketing,
Resume,
Education,
Project Management,
Tools,
Other

Response

Successfully retrieved presets

presets
object[]

List of available presets

total
integer

Total number of presets returned

Example:

50

categories
string[]

All available preset categories

Example:
[
"Social Media",
"Content",
"Business",
"HR",
"Marketing",
"Resume",
"Education",
"Project Management",
"Tools",
"Other"
]