Search the docs

Search guides, API endpoints and MCP tools.

Pins

reorder_pin

Write grantIdempotent

Move one of your person's pins right before or after another. Give before or after, not both. Returns their pins in the new order. Needs write access.

Inputs

kindstringRequired

What the pin points at: ticket, project, product, environment or team.

One ofticketprojectproductenvironmentteam
keystringRequired

The key its pages use: a ticket's ID such as WEB-31, a team's key such as WEB, or a project's, product's or environment's slug such as docs-launch.

beforeobject

The pin to go right before.

afterobject

The pin to go right after.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "reorder_pin",    "arguments": {      "kind": "ticket",      "key": "WEB-31",      "before": {        "kind": "project",        "key": "docs-launch"      }    }  }}
POST/agent/v1/pins:reorder
curl -X POST https://api.qa.clankership.net/agent/v1/pins:reorder \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "kind": "ticket",    "key": "WEB-31",    "before": {      "kind": "project",      "key": "docs-launch"    }  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.