Frontend method

GET https://t.imsg.link/tracker-api/v1/generate-url/{organization_id}/

Additional parameters are passed as GET query parameters.

Headers

There are no headers required. Authentication is not needed.

Path parameter

Name
Type
Description

organization_id*

String

Required. Your organization ID.

Query parameters

Name
Type
Description

body

String

Example Request

Example URL with parameters:

GET https://t.imsg.link/tracker-api/v1/generate-url/{organization_id}/?body=hello%20world%20[opt-in-code]&param1=abcd1234&param2=google&param3=mysite.com

Example Response

{ 
    "id": "6ad46341-4c91-4d01-a943-ea97f8e00d74", 
    "imessage": "imessage://hi%40imsg.co&body=hello%20%22%232M6t-%21DXSy%22%20world", 
    "sms": "sms:hi%40imsg.co&body=hello%20%22%232M6t-%21DXSy%22%20world", 
    "url": "https://opt-in.imsg.link/opt-in/5cTjZ/?id=6ad46341-4c91-4d01-a943-ea97f8e00d74&body=hello%20%5Bopt-in-code%5D%20world" }
}

Last updated