Skip to content
Get started

Add a user to a customer

UserAddResponse Express.Users.Add(UserAddParamsparameters, CancellationTokencancellationToken = default)
POST/v1/express/{expressCustomerId}/users

Associates an existing user with a customer, granting them access to customer-specific resources and studies.

ParametersExpand Collapse
UserAddParams parameters
required string expressCustomerID

Unique Express customer identifier. Format: cus_{32-hex-chars}

required string userID

User ID to add to the Express customer. Format: usr_{32-hex-chars}

ReturnsExpand Collapse
class UserAddResponse:

Standard success response with optional message

required Boolean Success
string Message

Add a user to a customer

UserAddParams parameters = new()
{
    ExpressCustomerID = "cus_1234567890abcdef1234567890abcdef",
    UserID = "usr_1234567890abcdef1234567890abcdef",
};

var response = await client.Express.Users.Add(parameters);

Console.WriteLine(response);
{
  "success": true,
  "message": "Operation completed successfully"
}
Returns Examples
{
  "success": true,
  "message": "Operation completed successfully"
}