Create a subuser registration
This endpoint documentation is generated directly from openapi.yaml.
Endpoint
POST /subusers/me
Operation
Operation ID: createSubuser
Creates a subuser (driver) account using a company's CVR and a phone number. Validates the CVR via e-conomic, ensures the phone number is not already in use, and if SMS is enabled sends a setup link by SMS for the user to complete registration.
Authentication
No authentication required.
Request Body
Required: yes.
Content type: application/json
{
"properties": {
"cvr": {
"description": "Danish CVR (8 digits)",
"example": 12345678,
"type": "integer"
},
"phone": {
"description": "Phone number (4–15 digits, no leading +)",
"example": 12345678,
"type": "integer"
},
"phone_country_code": {
"description": "Phone country code (1–3 digits)",
"example": 45,
"type": "integer"
}
},
"required": [
"cvr",
"phone_country_code",
"phone"
],
"type": "object"
}
Responses
Status | Description | Content Types |
|---|---|---|
200 | Subuser created (or pending setup) and company identified | application/json |
400 | ||
404 | ||
500 |
Schema for response 200 (application/json):
{
"properties": {
"customer_number": {
"description": "Matched e-conomic customer number",
"example": 1000,
"type": "integer"
},
"cvr": {
"example": 12345678,
"type": "integer"
}
},
"type": "object"
}
17 March 2026