Skip to main content
POST
/
v1
/
drafting
/
generate
Generate Legal Draft
curl --request POST \
  --url https://api.scoutline.com/v1/drafting/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "motion",
  "context": "<string>",
  "options": {}
}
'
{
  "jobId": "<string>",
  "status": "<string>",
  "estimatedCompletion": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required
Available options:
motion,
brief,
contract
context
string
required
options
object

Response

202 - application/json

Drafting job initiated

jobId
string
status
string
estimatedCompletion
string<date-time>