List what your text messages cost
Returns one charge per text, newest first: each recipient message you sent, and each text that reached one of your numbers (direction). A sent text's charge is created when the message is accepted and is finalized at its segment count times the per-segment price, rounded to the nearest cent, so an amount can still change until finalized_at is set; a recipient refused before sending finalizes at zero. A received text is charged, already final, when it arrives, and has no text_message_id.
Query Parameters
- Type: stringnullabletext
_message _id Only return the charge for this text message.
- Type: booleannullablefinalized
True returns only settled charges; false returns only charges whose amount can still change.
- Type: stringnullablecursor
The
next_cursorfrom the previous page. Omit it for the first page. - Type: integerlimitmin:1max:200
How many charges to return per page.
Headers
- Type: stringnullableX
- Resia - Organization - Id For Resia staff only. Omit it: your key acts on your own organization.
Responses
- application/json
- application/json
curl 'https://api.resia.ai/v1/message-charges?limit=50' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"items": [
{
"id": "01K1SA6D2E9NP3R7T5W8XQ4MHZ",
"direction": "sent",
"text_message_id": "01K1SA3F7M8QW2V5C9H4YTB0KD",
"amount_in_cents": 2,
"created_at": "2026-11-20T21:45:15.277Z",
"finalized_at": "2026-11-20T21:45:15.277Z"
}
],
"next_cursor": "MDFLMVNBM0Y3TThRVzJWNUM5SDRZVEIwS0Q"
}
