Public endpoint that resolves a shortcode and returns the original URL as JSON. Also records a click for analytics. Does not require auth. The caller is responsible for performing the actual redirect.
| Field | Type | Required | Description |
|---|---|---|---|
shortlink | URL Param | Required | The shortcode generated by the system. |
{
"originalUrl": "https://example.com/promo"
}Public endpoint behind the opt-out link Signal House appends to every message sent from a UK Alphanumeric Sender ID (sihou.io/o/:code). Returns what the opt-out page shows: the sender name, the recipient masked to its country code, two digits and last three digits, and whether the recipient has already opted out. Reading never opts the recipient out, so link scanners and previews are safe. Does not require auth. An unknown or malformed code returns a 404.
| Field | Type | Required | Description |
|---|---|---|---|
code | URL Param | Required | The opt-out code from the link. |
{
"code": "Xk3P9qa",
"senderName": "ACME",
"maskedRecipient": "+4479•••••456",
"optedOut": false
}Public endpoint that confirms the opt-out behind an opt-out link. It records the same STOP an inbound keyword would, so the recipient is added to the sender group's Do Not Contact list, and stamps the link as used. Takes no body. Idempotent: confirming again re-asserts the opt-out and returns the same result. Does not require auth. An unknown or malformed code returns a 404.
| Field | Type | Required | Description |
|---|---|---|---|
code | URL Param | Required | The opt-out code from the link. |
{
"code": "Xk3P9qa",
"senderName": "ACME",
"maskedRecipient": "+4479•••••456",
"optedOut": true
}Read shortlink details/analytics. Customer roles must pass at least one filter — an unfiltered read-all is restricted to internal use. visits counts people; link previews and scanners count in prefetchVisits.
The following roles are required to use this endpoint: admin, developer, api, billing, user
| Field | Type | Required | Description |
|---|---|---|---|
shortlink | Query Param | Optional | Filter by shortlink. |
messageId | Query Param | Optional | Filter by originating Message ID. |
phoneNumber | Query Param | Optional | Filter by phone number. |
campaignId | Query Param | Optional | Filter by Campaign ID. |
brandId | Query Param | Optional | Filter by Brand ID. |
subgroupId | Query Param | Optional | Filter by Subgroup ID. |
groupId | Query Param | Optional | Filter by Group ID. |
page | Query Param | Optional | Page number for pagination. |
limit | Query Param | Optional | Results per page. |
[
{
"_id": "60f7b2a1c9e77c001a2b3c5d",
"groupId": "G1234567",
"subgroupId": "S1234567",
"brandId": "B1234567",
"campaignId": "C1234567",
"phoneNumber": "12246431042",
"messageId": "60f7b2a1c9e77c001a2b3c58",
"originalUrl": "https://example.com/promo",
"shortlink": "abc123",
"visits": 42,
"prefetchVisits": 3,
"createdAt": "2024-01-15T14:30:00.000Z",
"updatedAt": "2024-01-15T16:00:00.000Z"
}
]