A User is a registered account that can create, manage and sign contracts on Legislate.
Contracts are stored in a Team and a User will by default have their own team where they can create contracts. A User can be invited to other teams as a Team member or Guest.
Fetching a User's details will return the following properties:
|id||Integer||The User's unique identifier|
|The User's email|
|avatar||Url (Optional)||A link to the avatar if the user has provided a profile picture.|
|created||Date||When the User was created|
|first_name||String||The User's first name|
|last_name||String||The User's last name|
A User's first name, last name and email will be used to pre-populate their contract collaborator details when they are added to a contract.
To test the endpoint and fetch these properties, specify a user ID below in the PATH PARAMS , enter your API key in the HEADER and click on Try it! on the top right.
If a User does not exist for your specified User ID, the response will return "User with id XXXX not found"