Cerclen API
Proposals

Propose a request

An editor on the running side raises a request for one of the deal's admins to file. 403 `cannot_propose_request` for anyone else — an admin files at once with `POST /deals/{deal_id}/requests`; 422 `unknown_category`.

POST
/api/v1/deals/{deal_id}/proposals

An editor on the running side raises a request for one of the deal's admins to file. 403 cannot_propose_request for anyone else — an admin files at once with POST /deals/{deal_id}/requests; 422 unknown_category.

Authorization

ApiKey
headerAuthorizationBearer <token>

An API key from your organization's API Keys page in Cerclen.

Path Parameters

deal_id*Deal Id
Formatuuid

Request Body

application/json
  1. body

A request to propose: the same fields as a new request. An editor's way of raising one; an admin files with POST /deals/{deal_id}/requests instead.

assignee_id?|

A person id on the deal.

body?Body

The request in full, in Markdown.

Lengthlength <= 20000
Default""
category?|

The category by name instead.

category_id?|

One of the deal's categories (see the deal). Neither this nor category: General Business. Editors make no categories, so it must exist.

due_date?|null
priority?Priority

A request's urgency. Ordering for display is client-side (never ORDER BY).

Default"medium"
Value in"low""medium""high"
requester?|

The advisor firm raising it.

title*Title
Match\S
Length1 <= length <= 500

Response Body

Successful Response

application/json
  1. response

A request an editor proposed, for one of the deal's admins to file or decline. It has no number until approved, when it becomes a request; the other side never sees it.

assignee_id*|

The person id of whoever would answer it.

body*Body

The request in full, in Markdown.

can*

What you may do to this proposal.

category*Category

That category's name.

category_id*|

The deal's category it would be filed under.

created_at*Created At
Formatdate-time
decided_at*|null
due_date*|null
id*Id
priority*Priority

A request's urgency. Ordering for display is client-side (never ORDER BY).

Value in"low""medium""high"
proposed_by_id*Proposed By Id

The person id of whoever proposed it.

reason*|

Why it was declined.

request_id*|

The request it became, once approved.

requester*|

The advisor firm raising it; null for the Financial Sponsor.

state*ProposalState

pending, then approved, declined or withdrawn.

Value in"pending""approved""declined""withdrawn"
title*Title
curl -X POST 'https://app.cerclen.com/api/v1/deals/497f6eca-6276-4993-bfeb-53cbbbba6f08/proposals' \  -H "Authorization: Bearer $CERCLEN_KEY" \  -H 'Content-Type: application/json' \  -d '{  "title": "string"}'
{  "assignee_id": "string",  "body": "string",  "can": {    "decide": true,    "withdraw": true  },  "category": "string",  "category_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "decided_at": "2019-08-24T14:15:22Z",  "due_date": "2019-08-24",  "id": "string",  "priority": "low",  "proposed_by_id": "string",  "reason": "string",  "request_id": "string",  "requester": "string",  "state": "pending",  "title": "string"}