External references
Link projects, tasks and milestones to objects in your own system and find them again that way.
On this page
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.
nullremoves a source.- Writing needs the scope
external:write.
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.
externalSourceis required, plus optionally eitherexternalCustomerIdorexternalRef.status=activeorarchived(archived = Completed or Canceled).- Pagination:
limitat most 100,nextCursor, nototal.
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)