Skip to the content

DEVELOPERS · PLAYS

Plays API (Pro)

List the built-in plays, publish your own and call them from code.

Custom plays on Pro · claim until proven

curl https://app.docustay.app/api/v1/plays \
  -H "Authorization: Bearer $DOCUSTAY_KEY"

Four routes.

  • GET/api/v1/plays: name, description, kind, category
  • GET/api/v1/plays/{name}
FIG. 01 · READ
  • POST/api/v1/plays: publish your own
  • DELETE/api/v1/plays/{name}
FIG. 02 · WRITE

Questions

Quick answers.

What is a play?

A reusable recipe for a kind of document, with the questions it asks.

Which are free?

Built-in plays are free to list and use on every plan. Custom plays and playbooks, and creating or deleting plays through the API, are on Pro.

List the plays.

Create an API key