Skip to content

Embeddable Builder API (0.1.0)

Authentication

All endpoints in this API require Bearer authentication using an API key. Include the API key obtained from the customer portal in the Authorization header of each request, formatted as follows:

Authorization: Bearer <api_key>
Download OpenAPI description
Languages
Servers
Production
https://api.builder.docue.com/

Workspaces

Endpoint for fetching information about the authenticated workspace. It can be used to test if the API authentication works.

Operations

Get current workspace

Request

Security
APIKey
Headers
Acceptstringrequired

Specify the response format.

Value"application/json"
curl -i -X GET \
  https://api.builder.docue.com/api/workspaces/current \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Successful response.

Bodyapplication/json
dataobject(Api.Workspace.Data.WorkspaceData.WorkspaceData)
Response
application/json
{ "data": { "id": "7f3f5f62-2c69-7d4e-8a3d-9c0f0e2c5f3a", "name": "Acme Inc." } }

Templates

Fetch a list of all available templates. Use this if you want to create a fully customized UI for selecting templates. If you prefer to use our ready-made UI, you can use the Template Browser instead.

Operations

Template browser

Hosted UI for end users to select the appropriate template. Use this if you want to take advantage of our UI.

Operations

Builder

Hosted UI for end users to draft their document.

Operations