POST/​v1/​envelopes/​blueprint/​official/​safe/​

Simple Agreement for Future Equity (SAFE)

The classic early stage startup fundraising instrument, maintained by YCombinator and pioneered by them in 2013 and used by thousands of startups.

Choose from a SAFE with a valuation cap, discount, or MFN provision or any combination of them.

An envelope using this blueprint may be created via the API or it may be created directly on the web using a form that has a one-to-one correspondence with the API.

The API to use a blueprint is identical from blueprint to blueprint except for two things. First, each blueprint has a unique context object that's passed in the API call. This is because the information needed to generate a Confidentiality Agreement is different than the information needed to generate an Independent Contractor Agreement, for example.

Second, a blueprint may sometimes call for you to pass in the parties separately from the context, but that depends on the shape of that blueprint's context. This Simple Agreement for Future Equity (SAFE) blueprint does not require a parties property.

Request Body

  • Name
    name
    Type
    string
    required
    Description

    The name of the envelope. Limited to 254 characters that are alphanumeric, spaces, numbers, or symbols.

  • Name
    context
    Type
    object
    required
    Description

    An object containing the specific information required to render the blueprint. The shape of this object depends on which blueprint is being used.

    Since this is an official blueprint, the reference on the shape of their context is provided in this documentation.

  • Name
    webhook_url
    Type
    string
    Description

    The URL where Magistrate will POST webhooks related to this envelope. If this is provided, the API will immediately POST a webhook of type webhook_url_verification to the endpoint, and if it does not return a 2xx response within a couple seconds, the whole API call fail with a 400 response.

  • Name
    autosign
    Type
    boolean
    Description

    If autosign is true, any signatures belonging to the creator of the envelope will be signed automatically. The creator will not receive an email soliciting their signature since they will have already signed.

    This is ignored if the action is draft. This is also ignored if the creator of the envelope is not also a signatory.

  • Name
    suppress_emails
    Type
    string
    Description

    If provided, it must be the string creator. If this is provided, the creator of the envelope will not receive any emails related to the envelope.

  • Name
    action
    Type
    string
    required
    Description

    One of the following strings: send or draft.

    send will generate an envelope and send it for signature to all parties in one step.

    draft will generate an envelope and save it as a draft. To make any edits or send it for signature, you must log into the web user interface.

Request

POST
/v1/envelopes/blueprint/official/safe/
curl "https://api.getmagistrate.com/v1/envelopes/blueprint/official/safe/"  \
  -H "Authorization: Token d0b0b4628e184832b1b0bc1e93fbd487" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Simple Agreement for Future Equity (SAFE)",
    "context": {
      "details": {
        "purchase_amount": 50000,
        "date": "2022-06-01",
        "governing_law": "CA"
      },
      "company": {
        "name": "Magistrate Inc.",
        "email": "harry@getmagistrate.com",
        "is_entity": true,
        "state_of_incorporation": "DE",
        "entity_form": "Corporation",
        "authorized_human": {
          "name": "Harry Khanna",
          "title": "Chief Executive Officer"
        }
      },
      "investor": {
        "name": "Lisa Vedernikova Khanna",
        "is_entity": false,
        "email": "lisa@getmagistrate.com"
      }
    },
    "webhook_url": "https://your-domain.example.com/webhooks/",
    "action": "send"
  }'

Context

This is the context specific to this blueprint. It is the object that you pass to the context property of the request body.
  • Name
    details
    Type
    object
    required
    Description

    The main details of the SAFE

    SAFE Details Expand
  • Name
    company
    Type
    object
    required
    Description

    Information about the company seeking the investment

    Company Expand
  • Name
    investor
    Type
    object
    required
    Description

    Information about the investor putting new money into the company

    Investor Expand
{
  "details": {
    "purchase_amount": 50000,
    "date": "2022-06-01",
    "governing_law": "CA"
  },
  "company": {
    "name": "Magistrate Inc.",
    "email": "harry@getmagistrate.com",
    "is_entity": true,
    "state_of_incorporation": "DE",
    "entity_form": "Corporation",
    "authorized_human": {
      "name": "Harry Khanna",
      "title": "Chief Executive Officer"
    }
  },
  "investor": {
    "name": "Lisa Vedernikova Khanna",
    "is_entity": false,
    "email": "lisa@getmagistrate.com"
  }
}

Response

If the request is successful, the endpoint will return a status code of 201 Created.

The response body will be the new envelope object.