Home / Developers API

Developers API


Http headers:

token: {Token You get after subscribe}
user-id: {Email You used for subscription}

Pass this headers with requests which require auth


Returns all available topics with id and name

url: api.wpquoteoftheday.com/category

returns json body



Auth required

Returns random quote with necessary topic

url: api.wpquoteoftheday.com/quote/{topic_id}

returns json body

"quote":"In a secular age, an auth....",
"author":"Angela Carter",
"category":1 //same as topic, for compatibility with old versions

Buy now