# Share results
Create a public link for the current lead list after the task finishes.
**Request:** `POST https://leadsagent.io/api/v1/tasks/{id}/share`
**Access:** leads:write.
**Response:** data contains task_id and share_url.

## Parameters

- `id` (UUID): Required. The task ID.

## cURL

```sh
curl --fail-with-body --silent --show-error --request POST "$LEADSAGENT_API_BASE/tasks/$TASK_ID/share" -H "X-API-Key: $LEADSAGENT_API_KEY"
```

## Example response

```
{
  "request_id": "6c4d0c26-8aa3-44b0-a50a-51b832b29465",
  "status": "success",
  "data": {
    "task_id": "73bd1ccb-1a44-4b41-84da-4ea7a5ad03f4",
    "share_url": "https://leadsagent.io/s/example-token",
    "note": "Anyone with this URL can see the lead list without signing in."
  },
  "meta": {}
}
```

## Notes

- Anyone with the link can read the list. Share it only with people who should see the data.

[Open the full API reference](https://leadsagent.io/documentation/api-reference)
