---
title: "Create a User"
method: POST
path: "/api/v2_1/firms/{posId}/users"
tags: ["Partner-Merchant-Registration"]
---

# Create a User

`POST /api/v2_1/firms/{posId}/users`

## Request

- Base URL: `https://secure.payu.com`
- URL: `https://secure.payu.com/api/v2_1/firms/{posId}/users`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/docs/api/v2_1/firms/:posId/users/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an additional User for your partner.

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- object
  - `user` object, required
    - `name` string, required: First name of the new user.
    - `surname` string, required: Last name of the new user.
    - `email` string, required: Email address of the new user.
    - `phone` string: Phone number of the new user.
    - `role` 'manager' | 'user', required: Role specified for the new user.

## Response `201`

- object
  - `userId` string: New user identifier.

## Other responses

- `401`

---

[API](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api.md) - [All operations](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/revisions/185e74d5e007?raw)
