GET/v1/sms/orders
List orders
Paginated list of the user's SMS orders, newest first.
Required scope:
orders.readRate limit: 10 rpsCode samples
curl -X GET "https://samaprime.com/api/v1/sms/orders" \ -H "Authorization: Bearer sk_test_..." \ -H "Content-Type: application/json"Response
→ 200{ "data": [ { "id": "ord_01J8X9AABBCCDD", "status": "active", "phone_number": "+15551234567", "otp_code": null, "cost_usd": "0.8000", "expires_at": "2026-08-10T15:02:00Z", "created_at": "2026-08-10T14:52:00Z" } ], "meta": { "request_id": "req_abc123", "timestamp": "2026-08-06T12:00:00Z" }}