Users
Add Users
POST
Use this API to add Users to:
- Organization: This will provide them access to all the documents in the organization. It will also show users in the contact list of the organization.
- Document: This will provide them access to the specified document. It will also show users in the contact list of the document. If you pass the
documentId
, then the users will be added to the document.
- If organization does not exist, it will be created.
- If you provide documentId or folderId, then the users will only be added at that level and not at the organization level. To also add users at the organization level, you will need to call this API again with only the organizationId.
- If User’s
initial
is not provided in the User object, then it will be automatically created using the name field.
Endpoint
POST https://api.velt.dev/v1/users/add
Headers
Your API key.
Your Auth Token.
Body
Params
Example Requests
1. Add users to a specific organization
2. Add users to a specific document within an organization
3. Add users to a specific folder within an organization
Response
Success Response
Failure Response
Was this page helpful?