How to create a team

A step by step guide for creating a Team with the Legislate API

What is a team?

A Team is where contracts are created and stored. A Team owner is a User who can manage Team owner and Team member. Contracts can be created and managed in a Team by a Team owner and Team member . A User who has been invited to a Contract in the team is a Guest and they will not have the permissions to make edits to their contract or view the other contracts in the team.

Related Recipes

How to create a team:

A user will have a team where they can create contracts by default. A user can create a new team with the Create a team endpoint, with only their UserId as a parameter.


Team Name

A team name must be specified or an error will be given

curl --request POST \
     --url \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '{"name":"Team_name"}'

A successful 201 response will look like:

"id": {{TeamId}},
  "name": "Team_name",
  "created": "2022-06-16 15:16:27.980+0000",
  "_links": {
    "self": {
      "href": "{{TeamId}}"

Where the {{TeamId}} is returned.

Related Recipes