Reporting

Sent message history

Two modes. Range mode (start/end given): capped at 30 days, ordered date desc with id desc tiebreak, paged by limit/offset. Cursor mode (no start/end): since_id cursor, no date cap; sort=desc reverses display order only

get/get-sent/

Request

  • Base URL: http://api.smsfusion.com.au
  • URL: http://api.smsfusion.com.au/get-sent/
  • Auth: one of:
    • API key in query parameter key
    • HTTP basic

Query parameters

keystring required

API Key as generated from the <a href='https://www.smsfusion.com.au/admin/api/'>admin panel</a>

startstring

Range start - unix timestamp or strtotime()-parsable string. start/end ranges are capped at 30 days

endstring

Range end - unix timestamp or strtotime()-parsable string

since_idinteger

Forward cursor - return rows with id greater than this. Always pages forward regardless of sort

limitinteger

Default 100, max 500

offsetinteger

Row offset for paging, default 0

sort'asc' | 'desc'

desc = newest-first display order (default asc). Display order only - the cursor still pages forward

Response

Successfull response

idinteger
dateinteger
sourcestring
deststring
vanitystring
msgstring
costnumber float
currencystring
segmentsinteger
campaignidinteger
dlrstring
dlrdateinteger

Changes

No recorded changes to this operation across all 1 revision of this API.