Appearance
project/adduser
Adds an existing user to a project team.
Method and path
POST /project/adduser
Authentication
Authentication is required. See Authentication.
Permissions
Accessible to tier 1 and 2 users.
Request headers
| Header | Required | Description |
|---|---|---|
X-Api-Key or X_API_KEY | yes | API key. |
Content-Type | yes | application/json. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
project_id | integer | yes | Project identifier. |
user_id | integer | yes | User identifier to link to the project. |
Example request
bash
curl -X POST "$SIGNAL_API_BASE_URL/project/adduser" \
-H "X-Api-Key: $SIGNAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"project_id": 123, "user_id": 987}'json
{
"project_id": 123,
"user_id": 987
}Example response
json
{
"success": true,
"message": ""
}Response fields
| Field | Type | Description |
|---|---|---|
success | boolean | true when the operation completes. |
message | string | Additional message (can be empty). |
Notes
- There is also
/project/newuser/{project_id}for creating a new user directly inside a project context.