ProjectFlow Pre-Launch

Mitglieder

Die Personen im Workspace, zum Beispiel für Zuweisungen.

Die Referenz wird aus der englischen OpenAPI-Spezifikation erzeugt und ist deshalb auf Englisch.

List workspace members

GET/members

Scope readBerechtigung members:read

Members of the workspace (or of one project) with id, name, email and role — to assign work by name. Emails set to private in the profile are omitted.

Query-Parameter

  • projectIdstring

    Only members of this project.

  • limitinteger1 to 200 · Standard: 100

    Page size.

  • cursorstring

    Opaque cursor from the previous response's nextCursor.

Antwort 200

Success.

  • membersarray of Member
    5 Attribute anzeigen
    • idstringPflicht

      User id (use as assigneeIds / memberIds).

    • namestringPflicht
    • emailstring
    • rolestringPflicht

      Erlaubte Werte: Owner Admin Member Guest

    • titlestring
  • nextCursorstring | null
  • totalinteger

Fehler

  • 400invalid_request: malformed body, missing field, invalid cursor.
  • 401unauthorized: missing, invalid or revoked token.
  • 403forbidden or a plan code (plan-api-read-only, plan-api-disabled, plan-webhooks): missing scope or permission, or the plan does not allow it.
  • 404not_found.
  • 429rate_limited or daily_write_limit.

Alle Fehlercodes

Anfrage
curl "https://api.getprojectflow.com/v1/members?limit=50" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/members?limit=50', {
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
  },
});
const data = await res.json();
import os
import requests

res = requests.get(
    "https://api.getprojectflow.com/v1/members?limit=50",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/members?limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)
Antwort · 200JSON
{
  "success": true,
  "members": [
    {
      "id": "member_1",
      "name": "Website relaunch",
      "role": "Owner",
      "email": "ada@example.com",
      "title": "Prepare kickoff"
    }
  ],
  "nextCursor": null,
  "total": 1,
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

↑↓ wählen, Enter öffnen, Esc schließen