View all smart links created under your account
https://eu.cpaas.bics.com/api/v2/
Note: Few elements in the endpoint may change from service to service.
{endpoint}link/urls
curl --location --globoff --request GET '{endpoint}api/v2/link/urls' \
--header 'Accept: application/json' \
--data-urlencode 'long_url=https://www.mobtexting.com' \
--data-urlencode 'title=new-smart-link'
Kindly replace the token with your respective access_token and other params.
{
"status": "OK",
"code": 200,
"message": "OK",
"data": [
{
"id": 4,
"title": "testing",
"short_url": "https://tx3.in/",
"long_url": "https://o5o4o6.com/?a=1457&c=298748&s1=TN(air(40_50)",
"webhook_id": null,
"token": null,
"visits": 1,
"last_visited": "2022-10-27 00:00:00",
"is_advanced": 1,
"status": 1,
"created_at": "2022-10-11T09:58:42.000000Z",
"updated_at": "2022-10-28T07:25:36.000000Z"
}
],
"links": {
"first": "{endpoint}link/urls?page=1",
"last": "{endpoint}link/urls?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "{endpoint}link/urls?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "{endpoint}link/urls",
"per_page": 15,
"to": 1,
"total": 1
}
}