---
title: "Add User to Project"
method: POST
path: "/accounts/projects/{id}/users"
tags: ["hubProjects"]
---

# Add User to Project

`POST /accounts/projects/{id}/users`

Add a user to a project, granting them access to create orders against the project. Requires Super Admin role.

## Path parameters

- `id` string, required

## Request body

- object
  - `user_id` string, required

## Response `200`

User added

- Project
  - `id` string, uuid, required — Unique identifier for the project
  - `name` string, required — Project name
  - `description` string, nullable — Project description
  - `payment_method_id` string, uuid, required — Payment method associated with this project
  - `users` User[] — Users assigned to this project
    - `id` string, uuid, required — Unique identifier for the user
    - `email` string, email, required — User's email address
    - `first_name` string — User's first name
    - `last_name` string — User's last name
    - `role` 'super_admin' | 'creator' | 'reader', required — User role within the Hub organization. super_admin can manage all resources, creator can create orders, reader has view-only access.
    - `projects` string[] — List of project IDs the user has access to
    - `created_at` string, date-time — Timestamp when the user was created
  - `total_spend` number, double — Total amount spent on this project in USD
  - `created_at` string, date-time — Timestamp when the project was created
  - `updated_at` string, date-time — Timestamp when the project was last updated

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.net/skywatch/apis/api-specification.md) · [All operations](https://skmtc.net/skywatch/apis/api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skywatch/api-specification/revisions/51f7c5a8d15d/schema)
