projqoDevelopers

Reference

Project people

Who holds which role in a project (invite only, D1), the project's roles and contributing teams, and what a person may do there.

List a project's contributing teams

GET/orgs/{org}/projects/{project}/teams

Scope: projects:read

The teams that contribute to the project, archived ones last.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB) or id.

    1 to 60 characters

    The id comes from List projects.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of TeamRequired
    Show 12 fields
    • idstring (uuid)Required
    • namestringRequired
    • descriptionstringRequired
    • typestringRequired

      official teams are made and changed by admins.

      one of: official, team

    • joiningstringRequired

      open: anyone may join; invite: added by its members.

      one of: open, invite

    • iconstringRequired

      one of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask

    • member_countintegerRequired
    • is_memberbooleanRequired

      Whether the token's person is on the team.

    • archivedbooleanRequired
    • archived_atstring (date-time) or nullRequired
    • parentobject or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
    • created_atstring (date-time)Required

      UTC, with Z.

  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/projects/{project}/teams" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
      "name": "string",
      "description": "string",
      "type": "official",
      "joining": "open",
      "icon": "users",
      "member_count": 1,
      "is_member": true,
      "archived": true,
      "archived_at": "2026-12-01T09:30:00Z",
      "parent": {
        "id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
        "name": "string"
      },
      "created_at": "2026-12-01T09:30:00Z"
    }
  ],
  "next_cursor": "string",
  "total": 1
}

Add a contributing team

POST/orgs/{org}/projects/{project}/teams

Scope: projects:write

Adds a team to the project's contributing teams (the project's administrators and organisation admins; not while the project is archived). A team gives no access.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB) or id.

    1 to 60 characters

    The id comes from List projects.

Body

  • teamstring (uuid)Required

    The team's id.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of TeamRequired
    Show 12 fields
    • idstring (uuid)Required
    • namestringRequired
    • descriptionstringRequired
    • typestringRequired

      official teams are made and changed by admins.

      one of: official, team

    • joiningstringRequired

      open: anyone may join; invite: added by its members.

      one of: open, invite

    • iconstringRequired

      one of: users, rocket, code, palette, megaphone, wrench, shield, heart, briefcase, globe, lightbulb, flask

    • member_countintegerRequired
    • is_memberbooleanRequired

      Whether the token's person is on the team.

    • archivedbooleanRequired
    • archived_atstring (date-time) or nullRequired
    • parentobject or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
    • created_atstring (date-time)Required

      UTC, with Z.

  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/projects/{project}/teams" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "team": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
      "name": "string",
      "description": "string",
      "type": "official",
      "joining": "open",
      "icon": "users",
      "member_count": 1,
      "is_member": true,
      "archived": true,
      "archived_at": "2026-12-01T09:30:00Z",
      "parent": {
        "id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
        "name": "string"
      },
      "created_at": "2026-12-01T09:30:00Z"
    }
  ],
  "next_cursor": "string",
  "total": 1
}

Remove a contributing team

DELETE/orgs/{org}/projects/{project}/teams/{team}

Scope: projects:write

Takes a team off the project's contributing teams (the project's administrators and organisation admins).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB) or id.

    1 to 60 characters

    The id comes from List projects.

  • teamstring (uuid)Required

    The team's id.

    The id comes from List teams.

Answer

204 Done; no body.

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/projects/{project}/teams/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 204

No body.

List a project's people

GET/orgs/{org}/projects/{project}/people

Scope: projects:read

Who holds which role in the project, people and groups (groups first, then by name), as the project's access page shows them to anyone who can open it. Guests don't see email addresses.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

Query parameters

  • limitinteger

    How many items a page holds, 1 to 200.

    from 1 to 200; default 50

  • cursorstring

    The next_cursor of the previous page; leave it out for the first page.

    at most 1000 characters

  • countstring

    true adds total, the number of items in the whole list.

    one of: true, false

  • qstring

    Text in the name or email.

    at most 200 characters

  • typestring

    person (members), guest or group.

    one of: person, guest, group

  • rolestring

    A role's id or key.

    at most 60 characters

  • fieldsstring

    Only these fields, comma-separated: id, kind, person, group, role. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of ProjectPersonRequired
    Show 5 fields
    • idstring (uuid)Required

      The assignment's id (change or remove it by this id).

    • kindstringRequired

      one of: person, group

    • personobject or nullRequired
      Show 4 fields
      • idstring (uuid)Required
      • namestringRequired
      • emailstring or nullRequired

        Not shown to guests.

      • guestbooleanRequired
    • groupobject or nullRequired
      Show 3 fields
      • idstring (uuid)Required
      • namestringRequired
      • membersintegerRequired
    • roleobjectRequired
      Show 3 fields
      • idstring (uuid)Required
      • keystringRequired
      • namestringRequired
  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/projects/{project}/people" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "9e0f1a2b-3c4d-4e5f-8a6b-7c8d9e0f1a2b",
      "kind": "person",
      "person": {
        "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
        "name": "Priya Shah",
        "email": "priya@example.com",
        "guest": false
      },
      "group": null,
      "role": {
        "id": "0b1c2d3e-4f5a-4b6c-8d7e-8f9a0b1c2d3e",
        "key": "member",
        "name": "Member"
      }
    }
  ],
  "next_cursor": null
}

Add people to a project

POST/orgs/{org}/projects/{project}/people

Scope: projects:write

Gives people (by id or email) and groups a role in the project, as the access page's Add people does (the project's admins). An organisation admin's email for someone not yet in the organisation invites them with a built-in role. Who can't be added is listed in refused with the reason; a guest can only be Guest or Viewer.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

Headers

  • Idempotency-Keystring

    A unique key (such as a uuid): the same key and body within 24 hours gets the first answer again without a second create; another body gets 422.

    1 to 200 characters

Body

  • rolestringRequired

    The role's id or key (admin, member, viewer, guest, …).

    1 to 60 characters

  • peoplearray of string

    at most 200 items

  • groupsarray of string (uuid)

    at most 200 items

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • addedintegerRequired

    How many new assignments were made.

  • invitedarray of stringRequired

    Emails invited to the organisation with this role (organisation admins).

  • refusedarray of objectRequired

    Who wasn't added, and why, in the app's words.

    Show 2 fields
    • whostringRequired
    • reasonstringRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 422 idempotency_key_reused idempotency_key_reused: The same Idempotency-Key was sent within 24 hours with a different body.
    422 answer
    {
      "error": {
        "code": "idempotency_key_reused",
        "message": "The same Idempotency-Key was sent within 24 hours with a different body.",
        "status": 422,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/projects/{project}/people" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "string",
  "people": [
    "string"
  ],
  "groups": [
    "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
  ]
}'

Sample answer 200

200 OK
{
  "added": 1,
  "invited": [],
  "refused": []
}

Change a role in a project

PATCH/orgs/{org}/projects/{project}/people/{assignment}

Scope: projects:write

Gives one person or group another role in the project (the project's admins).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

  • assignmentstring (uuid)Required

    The id comes from List a project's people.

Body

  • rolestringRequired

    The role's id or key.

    1 to 60 characters

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required

    The assignment's id (change or remove it by this id).

  • kindstringRequired

    one of: person, group

  • personobject or nullRequired
    Show 4 fields
    • idstring (uuid)Required
    • namestringRequired
    • emailstring or nullRequired

      Not shown to guests.

    • guestbooleanRequired
  • groupobject or nullRequired
    Show 3 fields
    • idstring (uuid)Required
    • namestringRequired
    • membersintegerRequired
  • roleobjectRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X PATCH "https://projqo.example/api/v1/orgs/{org}/projects/{project}/people/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "string"
}'

Sample answer 200

200 OK
{
  "id": "9e0f1a2b-3c4d-4e5f-8a6b-7c8d9e0f1a2b",
  "kind": "person",
  "person": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah",
    "email": "priya@example.com",
    "guest": false
  },
  "group": null,
  "role": {
    "id": "0b1c2d3e-4f5a-4b6c-8d7e-8f9a0b1c2d3e",
    "key": "member",
    "name": "Member"
  }
}

Remove someone from a project

DELETE/orgs/{org}/projects/{project}/people/{assignment}

Scope: projects:write

Takes a person's or group's role in the project away (the project's admins).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

  • assignmentstring (uuid)Required

    The id comes from List a project's people.

Answer

204 Done; no body.

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/projects/{project}/people/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 204

No body.

List a project's roles

GET/orgs/{org}/projects/{project}/roles

Scope: projects:read

The roles of the project with their permissions and how many hold each (the project's admins, as its Roles settings). A Team project has its own roles; an Organisation project uses the organisation's, with the permissions its scheme gives. Read only: roles are changed in the app.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of ProjectRoleRequired
    Show 7 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
    • descriptionstringRequired
    • built_inbooleanRequired
    • permissionsarray of stringRequired
    • holdersintegerRequired

      People and groups holding it in this project.

  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/projects/{project}/roles" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "0b1c2d3e-4f5a-4b6c-8d7e-8f9a0b1c2d3e",
      "key": "member",
      "name": "Member",
      "description": "Works on tasks.",
      "built_in": true,
      "permissions": [
        "browse_project",
        "create_tasks",
        "edit_tasks"
      ],
      "holders": 4
    }
  ],
  "next_cursor": null
}

Get a person's permissions in a project

GET/orgs/{org}/projects/{project}/permissions/{person}

Scope: projects:read

What one person may do in the project, from every role they hold there directly or through a group (the project's admins; read only). A person the caller can't see answers 404.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • projectstringRequired

    The project's key (WEB), an old key, or its id.

    1 to 60 characters

    The id comes from List projects.

  • personstringRequired

    The person's id or email.

    1 to 320 characters

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • projectProjectRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • personPersonRefRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • rolesarray of stringRequired
  • permissionsarray of stringRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/projects/{project}/permissions/{person}" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "project": {
    "id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
    "key": "WEB",
    "name": "Website"
  },
  "person": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "roles": [
    "Member"
  ],
  "permissions": [
    "browse_project",
    "create_tasks",
    "edit_tasks"
  ]
}