Skip to content

REST API

FAQs: 3 routes.

All under /wp-json/davo/v1. Every route has a description in the source.

  • GET3

/faq-sections

GETPublic

Lists FAQ sections.

Handler: cb_get_sections()

No parameters declared in the route registration.

curl
curl "https://example.com/wp-json/davo/v1/faq-sections"

src/domains/faqs/routes.php:105

/faqs

GETPublic

Lists FAQs, filterable by section and search, with sorting and pagination.

Handler: cb_get_faqs()

No parameters declared in the route registration.

curl
curl "https://example.com/wp-json/davo/v1/faqs"

src/domains/faqs/routes.php:78

/faqs/{id}

GETPublic

Returns one FAQ.

Handler: cb_get_faq()

Parameters of GET /faqs/{id}
ParameterTypeRequiredDefault or allowed values
idsee source——
curl
curl "https://example.com/wp-json/davo/v1/faqs/{id}"

src/domains/faqs/routes.php:89

Note. Generated from the plugin source. Parameters are the ones declared when the route is registered; a parameter marked “see source” uses a shared definition. Responses are not documented here. Authenticate as for any WordPress REST route, for example with an application password over HTTPS; the example paths use https://example.com.

See it on your own site.

Davo is a WordPress theme and plugin by Exorex.

  • Runs on your own WordPress
  • Guided setup wizard
  • AI is off until you switch it on
  • Read the licence on the marketplace first