#Slates
#/v1/slates endpoint
You must have a Slatebox TEAM subscription to make this call. Sign up for FREE access here.
The /v1/slates/create
endpoint lets you programmatically produce an editable slate, accessible via your TEAM portal at slatebox.
To make the invocation, you need to POST the below JSON to /v1/slates/create
:
You MUST provide a valid userId from your organization to the body
to make this call. You can get all the possible _ids by making the /v1/organization/users
call described here.
Currently, there are three types of visualizations you can make:
- Scratch - this is a mindmap diagram "from scratch" about whatever
prompt
you provide. - Template - based on the templates at Slatebox, you can provide a
prompt
that describes the issue for which you're using the template, and atemplateId
likepro-con
orswot-analysis
that you'd like to generate. - URL - this produces a mindmap diagram based on the text of the URL provided in the
prompt
.
Below are code samples of how to make this call, but note you must produce the authentication header to send along with the request.
#Response
The calls will return the below JSON: