Users: Members, Resources, Placeholders

This documentation is for LiquidPlanner New: next.liquidplanner.com

In the API, users are workspace members, resources and placeholders. The Users endpoint can be used to pull a list of users and add new users in the workspace.

https://next.liquidplanner.com/api/users/v1

Supported Methods

POST

Use this endpoint to add a new user (Resource, Placeholder or Member) in your workspace.

📘

API Token owner must have Org Admin access to add or update users via API.

Add a new Resource

curl --location --request POST 'https://next.liquidplanner.com/api/users/v1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API Token> ' \
--data '{
    "username": "SampleResource",
    "firstName": "Sample",
    "lastName": "Resource",
    "userType": "resource",
    "workspaces": [
        21
    ]
}'

Add a new Placeholder

curl --location --request POST 'https://next.liquidplanner.com/api/users/v1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API Token>' \
--data '{
    "username": "SamplePlaceholder",
    "firstName": "Sample",
    "lastName": "Placeholder",
    "userType": "placeholder",
    "workspaces": [
        21
    ]
}'

Add a new Member

Adding new members requires a paid license.

When a new member is added to the workspace, their access is determined by the default access controls set for new members in the workspace's access settings.

There is no automatic notification sent to the new member, so they’ll need to be informed directly. To log in, the new member must complete the 'forgot password' process from the sign in page to create a password and login credentials. If Single Sign-On (SSO) is mandated for new member logins, they can skip the password setup step.

curl --location --request POST 'https://next.liquidplanner.com/api/users/v1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API Token>' \
--data-raw '{
    "email": "[email protected]",
    "username": "SampleMember",
    "firstName": "Sample",
    "lastName": "Member",
    "userType": "member",
    "workspaces": [
        21
    ]
}'

GET

Request user information through the API and receive a response in JSON format.

  • Get a list of all users from workspaces you have access to
  • Request the user list for a single workspace
  • Get details about a specific user

Sample Response

{
    "recordLimit": 500,
    "recordCount": 1,
    "data": [
        {
            "id": 10702,
            "email": "[email protected]",
            "firstName": "John",
            "lastName": "Doe",
            "lockedAccount": false,
            "lastAccessedAt": "2022-08-24T19:17:23Z",
            "username": "JohnD",
            "status": "active",
            "userType": "member",
            "workspaces": [
                436,
                11117
            ]
        }
    ]
}

Filter Options

Apply the filter string to the endpoint URL.

Filter attributeField typeDescriptionFilter stringNote
idnumberPull details about a specific user with their ID?id[is]="122"Response includes their workspace list and user status
emailstringPull details about a specific user by user’s email address?email[is]=”[email protected]Resources and Placeholders do not have an email address
firstNamestringPull details about a specific user by user’s first name?firstName[is]=”John”This is an optional field for Resources. We recommend establishing a naming convention if you would like to interact with the Resource User type via the API
lastNamestringPull details about a specific user by user’s last name?lastName[is]=”Doe”This is an optional field for Resources. We recommend establishing a naming convention if you would like to interact with the Resource User type via the API
lockedAccountbooleanPull a list of users whose accounts are locked?lockedAccount[is]=”true”Users have three days to confirm their email address or they are locked out
lastAccessedAtdateTimePull a list of users by the date on which they last signed in?lastAccessedAt[before]="2022-04-21T01:01:46Z"
userTypeenum string (member, resource, placeholder)Pull a list of users by their type?userType[in]=["resource", "placeholder"]Values are case sensitive
statusenum string (active, disconnected)Pull a list of active or disconnected members in an org?status[is]="active"Values are case sensitive
workspaceIdnumberPull a list of users with the assigned workspace ID?workspaceId[is]="123"