# The private links of an invoice: expiry, views, whether revoked

`GET /invoices/{id}/links` · Rivier · shop

The private links of an invoice: expiry, views, whether revoked.

- Scope: shop:read
- Mcp: rivier_invoices_links
- Graphql: Query.shopInvoiceLinks
- Sdk: shop.invoice.links
- Cli: invoices links

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/invoices/{id}/links' \
  -H 'Authorization: Bearer $KEY'
```
