ProjectFlow Pre-launch

External references

Link projects, tasks and milestones to objects in your own system and find them again that way.

On this page
  1. The external field
  2. Filtering by it

The external field

The external field is keyed by source (keys such as manager, at most 5). Each source allows customerId, ref, label, url and meta.

  • Each source is replaced as a whole, other sources stay.
  • null removes a source.
  • Writing needs the scope external:write.
Set a referenceHTTP
PATCH /projects/PROJECT_ID

{
  "external": {
    "manager": {
      "customerId": "cust_123",
      "ref": "P-2026-014",
      "url": "https://manager.example/p/014",
      "label": "Manager"
    }
  }
}

Filtering by it

The project list can be filtered by external references.

  • externalSource is required, plus optionally either externalCustomerId or externalRef.
  • status=active or archived (archived = Completed or Canceled).
  • Pagination: limit at most 100, nextCursor, no total.
Projects of one customer
curl "https://api.getprojectflow.com/v1/projects?externalSource=manager&externalCustomerId=cust_123&status=active&limit=50" \
  -H "Authorization: Bearer pfat_YOUR_TOKEN"
const res = await fetch('https://api.getprojectflow.com/v1/projects?externalSource=manager&externalCustomerId=cust_123&status=active&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/projects?externalSource=manager&externalCustomerId=cust_123&status=active&limit=50",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/projects?externalSource=manager&externalCustomerId=cust_123&status=active&limit=50")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, response) = try await URLSession.shared.data(for: request)

↑↓ to select, Enter to open, Esc to close