v1
latestOpenAPI 3.0.12026-07-24310590875.6 KBpartner
Create a user
Create a new user. The new user is created for the organization (organizationId) in the request header.
In the request, set username as a unique alphanumeric value. The value must be 40 characters or fewer. This field is not case-sensitive. Do not set the value as an email address or any PII value. BILL uses this value to uniquely identify each user.
This operation requires partner-level permissions.
- A sessionId header value generated with API partner login
- An appKey header value
- The organizationId of the organization
See Users for BILL partners in the Guides section for more information, sample requests, and responses.
post/v3/partner/users
Headers
sessionIdstring nullable
API session ID generated with /v3/partner/login
Example:{{partner_session_id}}
appKeystring nullable
Application key sent to you by BILL when you create a partner account
Example:{{app_key}}
organizationIdstring nullable
BILL-generated ID of the organization
Example:{{partner_organization_id}}
Request body
Example request
{
"firstName": "Tomato",
"lastName": "Soupsmith",
"email": "tsoupsmith@ricecakes.org",
"roleId": "{{partner_user_role_id}}",
"username": "tsoupsm!th1",
"acceptTermsOfService": true
}Response
Create a user response