> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Saperly

> Phone carrier for AI agents: numbers, SMS, outbound voice calls with transcripts, consent records and usage.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/saperly.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=836c831e3e2ebd2dda3c0545dd5974d8)

[Web Catalog · Messaging](https://docs.webrouter.net/data-apis.md?category=messaging)

Needs&#x20;

`SAPERLY_API_KEY`

Endpoints

8

Auth

Key in header

[Vendor docs](https://saperly.com/docs)

## Setup

| Variable | | What it is |
| - | - | - |
| `SAPERLY_API_KEY` | required | A scoped Saperly key (sap\_sk\_live\_...) from the dashboard. Its scopes, number allow-list and spend cap limit what it can do. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Paths sit at the API root, with no /v2 prefix.
* Prepaid: usage reserves funds from the balance and settles on completion; a call or SMS fails when the balance or the key's spend cap is short.
* Outbound SMS and calls are blocked unless the destination has an active consent record for the sending number; check it with consent.check first.
* Mutating endpoints accept an Idempotency-Key header so a retry does not send twice.

## Endpoints

GET

List phone numbers

Every number in the workspace.

[Open](#saperly-numbers-list)

GET

List connections

The handlers (instructions and voice) that answer the workspace's numbers.

[Open](#saperly-connections-list)

GET

List SMS messages

Messages in the workspace, optionally for one number.

[Open](#saperly-messages-list)

GET

List calls

Call records in the workspace.

[Open](#saperly-calls-list)

GET

Get a call

One call record.

[Open](#saperly-calls-get)

GET

Get a call transcript

The transcript of a call.

[Open](#saperly-calls-transcript)

GET

Check consent for a contact

Whether a contact has active consent to be called or texted from one of your numbers.

[Open](#saperly-consent-check)

GET

Get usage summary

Usage of the workspace, optionally since a timestamp.

[Open](#saperly-usage-get)

### List phone numbers

GET

`/numbers`

`saperly.numbers.list`

Every number in the workspace.

Input

No inputs.

[Vendor docs](https://saperly.com/docs/guides/numbers)

```python Python theme={null}
router.call_data_api("saperly.numbers.list")
```

```text MCP theme={null}
call_data_api(endpoint="saperly.numbers.list")
```

### List connections

GET

`/connections`

`saperly.connections.list`

The handlers (instructions and voice) that answer the workspace's numbers.

Input

No inputs.

[Vendor docs](https://saperly.com/docs/guides/connections)

```python Python theme={null}
router.call_data_api("saperly.connections.list")
```

```text MCP theme={null}
call_data_api(endpoint="saperly.connections.list")
```

### List SMS messages

GET

`/messages`

`saperly.messages.list`

Messages in the workspace, optionally for one number.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `numberId`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only messages sent from or received on this number.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://saperly.com/docs/guides/messaging) · Same job: [AgentMail](https://docs.webrouter.net/data-apis/agentmail.md#agentmail-messages-list), [AgentPhone](https://docs.webrouter.net/data-apis/agentphone.md#agentphone-numbers-messages), [Resend](https://docs.webrouter.net/data-apis/resend.md#resend-emails-received-list), [Slack](https://docs.webrouter.net/data-apis/slack.md#slack-conversations-history), [Sprout Social](https://docs.webrouter.net/data-apis/sprout-social.md#sprout-social-messages-list), [Twilio](https://docs.webrouter.net/data-apis/twilio.md#twilio-messages-list)

```python Python theme={null}
router.call_data_api("saperly.messages.list")
```

```text MCP theme={null}
call_data_api(endpoint="saperly.messages.list")
```

### List calls

GET

`/calls`

`saperly.calls.list`

Call records in the workspace.

Input

No inputs.

[Vendor docs](https://saperly.com/docs/guides/voice)

```python Python theme={null}
router.call_data_api("saperly.calls.list")
```

```text MCP theme={null}
call_data_api(endpoint="saperly.calls.list")
```

### Get a call

GET

`/calls/{id}`

`saperly.calls.get`

One call record.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The call id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://saperly.com/docs/guides/voice)

### Get a call transcript

GET

`/calls/{id}/transcript`

`saperly.calls.transcript`

The transcript of a call.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The call id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://saperly.com/docs/guides/voice)

### Check consent for a contact

GET

`/consent/check`

`saperly.consent.check`

Whether a contact has active consent to be called or texted from one of your numbers.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `numberId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Your number's id.
      </td>
    </tr>

    <tr><td>`peerNumber` required</td><td>string</td><td>query</td><td>The contact's number, E.164. Example `+14155550123`</td></tr>
  </tbody>
</table>

[Vendor docs](https://saperly.com/docs/guides/compliance)

### Get usage summary

GET

`/usage`

`saperly.usage.get`

Usage of the workspace, optionally since a timestamp.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `since`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO-8601 lower bound of the window, e.g. 2026-01-01T00:00:00Z.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://saperly.com/docs/guides/billing)

```python Python theme={null}
router.call_data_api("saperly.usage.get")
```

```text MCP theme={null}
call_data_api(endpoint="saperly.usage.get")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.