Skip to main content
These endpoints read or act across the accounts of an organisation. The caller must be an administrator of a Team or Agency organisation. An administrator with a restricted role (an account manager, for example) only reaches the accounts assigned to them: the others are left out of the lists and answer 404 when targeted.
To work on one member’s account, you rarely need a dedicated endpoint: send X-MagicPost-Member-Id on the regular endpoints (posts, scheduling, metrics, comments, leads…) and the request runs on that account. See Acting for a member.

GET /api/v1/org/members

List the active members of your organisation. The user_record_id of a member is the id to pass as member_id, as member_user_id in the MCP tools, or in the X-MagicPost-Member-Id header.
Response
status is the member’s plan status in MagicPost. linkedin_connected tells whether the member has connected LinkedIn, which scheduling and publishing require.

GET /api/v1/org/metrics/summary

Compact analytics for every member, or for one. Query params
Response, whole team
Response, one member (member_id set)
Each summary has the same shape as GET /api/v1/metrics/summary (shortened above, see Metrics). A member whose metrics cannot be built is left out of the team response.

GET /api/v1/org/posts

List posts across the organisation, grouped by member, or the posts of one member. Query params
Response, every member
With member_id, the response carries member_id and a single posts array instead of members. Each post is a compact record, as in the list of Posts.

POST /api/v1/org/members/<member_id>/posts

Create a draft owned by a member. Described on the Posts page.

Other organisation endpoints

Each of these backs the MCP tool of the same purpose. The tool catalog describes their inputs and what they return. POST /api/v1/org/team-calendar/schedule counts against the publishing rate limit (30 requests per minute), like the other scheduling endpoints.