Fetch MMS history
Request
GET https://api.46elks.com/a1/mms
Optional request parameters
Parameter |
Example |
Description |
start |
2018-02-14T09:52:07.302000 |
Retrieve MMS before this date. |
end |
2018-02-14T09:52:07.302000 |
Retrieve MMS after this date. |
limit |
40 |
Limit the number of results on each page. |
Response structure
Example JSON response
{
"data": [
{
"direction": "outgoing",
"from": "+46700000000",
"created": "2018-02-20T11:22:26.685000",
"to": "+46700371815",
"cost": 12500,
"owner": "ufb9e21cb046b15feeed314e732a0e9d1",
"message": "It's cold outside, bring a sweater!",
"id": "md38dd50030cef7c77f937c6ea8651d9d"
},
// ...
],
"next": "2018-02-20T10:48:03.349000"
}
Parameter |
Description |
data |
List of MMS with the same format as in Get MMS by ID. |
next |
Link to the next page if more MMS are available. |
Additional info
At most 100 MMS can be retrieved at once. Use the start
and
end
parameters to page through the history.