Marvia Developer Portal
DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Users
  • Users
    • Get a user
      GET
    • Delete a user
      DELETE
    • Update a user
      PATCH
    • List
      GET
    • Create a new user
      POST
  • Products
    • List products
      GET
  • Locations
    • Update a location
      PATCH
    • Get a location
      GET
    • Delete a location
      DELETE
    • List locations
      GET
    • Create a new location
      POST
  • Groups
    • Get a group
      GET
    • Update a group
      PATCH
    • Delete a group
      DELETE
    • List groups
      GET
    • Create a new group
      POST
  • Uploads
    • Initialize multipart upload
      POST
    • Complete multipart upload
      PUT
  • Assets
    • List assets
      GET
    • Create a new asset
      POST
    • Get asset by UUID
      GET
    • Update an asset
      PATCH
    • Search assets
      GET
  1. Users

Create a new user

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
POST
https://api-v2.getmarvia.com
/v1/users
Required Permission: create:users
This endpoint requires an API key with the create:users permission. Make sure your token was created with this permission during token creation.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
Success
Body

🟠400Bad Request
🟠401Unauthorized
🟠409409
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-v2.getmarvia.com/v1/users' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "languageCode": "en",
    "username": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "user@example.com",
    "countryCode": "st",
    "role": "administrator"
}'
Response Response Example
201 - Example 1
{
    "_tag": "Success",
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
    }
}
Modified at 2025-10-01 06:18:21
Previous
List
Next
List products
Built with