List Publications
medium.list_publications
ActionBusiness appsconnection required
Calls the Medium API with the connection's credentials.
List the publications a Medium user writes for, edits or follows.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Medium
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}, or {"access_token": "…"} for a self-issued integration token
- Config it needs
- user_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user_id Medium user id to list for; defaults to the connection's user, and otherwise to whoever the token belongs to. | string | No | — | — | 5303d74c64f66366f00cb9b2a94f3251bf5 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"user_id": "5303d74c64f66366f00cb9b2a94f3251bf5"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
publications One object per publication. | array | — |
publications[].id The publication id. | string | — |
publications[].name The publication's name. | string | — |
publications[].description The publication's short description. | string | — |
publications[].url The publication's homepage. | string | — |
publications[].imageUrl The publication's logo. | string | — |
count How many publications came back. | number | — |
user_id The Medium user the listing was read for. | string | — |
{
"count": 0,
"publications": [
{
"description": "",
"id": "",
"imageUrl": "",
"name": "",
"url": ""
}
],
"user_id": ""
}See List Publications run in a workflow.
In a technical demo we add the Medium connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.