Skip to main content
POST
Create user

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json

request

Request payload to create a drive user.

id
string
required

User id, used later to access user info. Max. length is 255. Allowed characters are ASCII letters, numbers and '-', '.', '_', '~'

Example:

"b5d00e95-b998-4a33-9210-84777f4cb4f9"

email
string

The email format is validated, but it is not verified by sending an email. This field is mandatory when Plugsurfing is the Merchant on Record.

Response

Created. Returns the created user.

User profile details returned by user management endpoints.

id
string
required

User identifier

Example:

"b5d00e95-b998-4a33-9210-84777f4cb4f9"

hasDebt
boolean
required

true if any of the sessions payments failed. (Relevant only if clearing is done by Plugsurfing)

Example:

false

email
string

User email address.

Example:

"john.smith@plugsurfing.com"

vatNumber
string

VAT number associated with the user.

billingAddress
object

Billing address associated with the user.

userGroups
object[]

User groups the user currently belongs to.