---
updatedAt: 2025-11-06T17:47:29.000Z
agentTools:
  projectIndex: https://developer.marchex.io/llms.txt
---

# Creating a User

## Creating a User

Using the POST method with the Users endpoint will allow you to create a new User

**POST<https://edgeapi.marchex.io/marketingedge/v5/api/users>**

The following fields are used in this request:

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Value
      </th>

      <th>
        Required?
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        username
      </td>

      <td>
        string
      </td>

      <td>
        Unique username
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        name
      </td>

      <td>
        string
      </td>

      <td>
        Name of the individual the user is assigned to
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        email
      </td>

      <td>
        string
      </td>

      <td>
        Valid email address format
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        phone
      </td>

      <td>
        string
      </td>

      <td>
        10 digits
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        call\_detail\_level
      </td>

      <td>
        string
      </td>

      <td>
        One of:

        * full
        * no\_caller
        * no\_call
      </td>

      <td>
        Yes
      </td>
    </tr>

    <tr>
      <td>
        restrict\_recording\_download
      </td>

      <td>
        boolean
      </td>

      <td>
        True, False
      </td>

      <td>
        No. Default is False if not specified
      </td>
    </tr>

    <tr>
      <td>
        roles
      </td>

      <td>
        string
      </td>

      <td>
        One or more of:

        * administrator
        * org\_group\_admin
        * ordering
        * reporting
        * browse\_inventory
        * view\_stop\_call\_data
        * call\_record\_listen
        * rescue
      </td>

      <td>
        Yes. Must have at least 1 role
      </td>
    </tr>

    <tr>
      <td>
        billing\_groups
      </td>

      <td>
        string
      </td>

      <td>
        List of billing\_group\_Id values (Org Group IDs)
      </td>

      <td>
        No
      </td>
    </tr>

    <tr>
      <td>
        group\_owners
      </td>

      <td>
        string
      </td>

      <td>
        List of group\_owner\_id values (Advertiser IDs)
      </td>

      <td>
        No
      </td>
    </tr>
  </tbody>
</Table>

> 📘 For more details on User Roles and assigning access see the [User Roles and Access](https://developer.marchex.io/docs/user-roles-and-access) page

The following sample request can be used to create a User

```json Request
{
    "username": "new_user",
    "name": "New User",
    "email": "abc@def.com",
    "phone": "",
    "call_detail_level": "full",
    "restrict_recording_download": false,
    "roles": [
      "ordering",
      "reporting",
      "browse_inventory",
      "call_record_listen"
    ],
    "access": {
      "billing_groups": [
        "24358"
      ],
      "group_owners": [
        "6600785"
      ]
    }
  }
```

If the request is handled successfully, the following response will be returned:

```json Response
{
    "user_id": "4bc45389-1daa-4d61-a86f-26f7b75d5d7a",
    "username": "new_user",
    "name": "New User",
    "email": "abc@def.com",
    "phone": "",
    "call_detail_level": "full",
    "restrict_recording_download": false,
    "status": "awaiting_approval",
    "last_login_date": "2022-12-14T20:36:47.3125177Z",
    "last_updated_date": "2022-12-14T20:36:47.3125177Z",
    "roles": [
        "ordering",
        "reporting",
        "browse_inventory",
        "call_record_listen"
    ],
    "access": {
        "billing_groups": [
            "24358"
        ],
        "group_owners": [
            "6600785"
        ]
    }
}
```