View One Smart Links

View One Smart Links

View single smart link created under your account.

API Endpoint

http://portal.thundersms.com/api/v2/

Note: Few elements in the endpoint may change from service to service.

GET

{endpoint}link/urls/{id}

Replace the {id} with the actual id of the link that you would like to see.

PARAMETERS

Example Request

cURL - cURL
curl --location --globoff --request GET '{endpoint}api/v2/link/urls/{smartlink_id}' \
--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.

Example Response

{
  "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"
  }
}