---
title: "Coach: a public image of your week in numbers"
method: POST
path: "/api/coach/share"
---

# Coach: a public image of your week in numbers

`POST /api/coach/share`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/coach/share`
- Auth: HTTP bearer

Returns image_url, a PNG (1080x1080) of this week's posts against your goal, the streak, views or interactions and your best post's ratio, with a small "made with PostWire" line, and a caption to post with it. The numbers travel inside the signed link: opening it reads nothing else and shows nothing else. Valid 180 days.

## Request body

- object
  - `tz` string
  - `name` string: optional name on the card (40 characters)

## Response `200`

{ ok, image_url, caption, numbers, note }

---

[API](https://skmtc.dev/postwire/apis/postwire-api.md) · [All operations](https://skmtc.dev/postwire/apis/postwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postwire/apis/postwire-api/revisions/513a409ab8f7?raw)
