Api reference
Messages for an owned line
Inbound + outbound messages for a phone number on the caller's wallet. **Auth:** Admin API key, x402 payer wallet, or API key with `numbers:read` (wallet must be linked).
Inbound + outbound messages for a phone number on the caller's wallet.
Auth: Admin API key, x402 payer wallet, or API key with numbers:read (wallet must be linked).
AuthorizationBearer <token>
Privy access token (dashboard sessions, ~1h TTL) or long-lived dial_live_* / dial_test_* API key minted from /dashboard/billing. API keys are scope-gated per route (sms:send, numbers:read, account:read, etc.); Privy sessions bypass scope checks. See /docs/api-reference/api-keys for the full scope catalogue.
In: header
Query Parameters
phone*string
E.164 line number
Response Body
application/json
curl -X GET "https://payphone.wtf/api/v1/sms/inbox?phone=string"Empty
Empty
Empty
{
"success": false,
"error": "missing_scope",
"required": "string",
"scopes": [
"string"
]
}