Tracking URL & Password

View or regenerate the secure 16-character stats sharing password and public tracking URLs.
GET /campaigns/{uuid}/tracking-info

Retrieves the public tracking URL and password for a campaign. If no password has been generated yet, a secure 16-character alphanumeric URL-safe password is automatically created.

URL Parameters

Parameter Type Status Description
uuid String (UUID or ID) Required The unique UUID or physical numeric ID of the campaign.

cURL Example

curl -X GET "https://api.hotsol.net/api/v1/campaigns/9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4/tracking-info" \
     -H "Authorization: Bearer hk_sec_your_secret_key_here" \
     -H "Accept: application/json"

Response Example

{
    "success": true,
    "message": "Campaign tracking information retrieved successfully.",
    "data": {
        "campaign_uuid": "9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4",
        "tracking_domain": "stats.domain.com",
        "tracking_password": "a1b2c3d4e5f6g7h8",
        "tracking_url": "https://stats.domain.com/campaign/overview/9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4"
    }
}
POST /campaigns/{uuid}/tracking-info

Regenerates a new secure 16-character stats sharing password for the campaign and returns the updated tracking URL.

URL Parameters

Parameter Type Status Description
uuid String (UUID or ID) Required The unique UUID or physical numeric ID of the campaign.

cURL Example

curl -X POST "https://api.hotsol.net/api/v1/campaigns/9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4/tracking-info" \
     -H "Authorization: Bearer hk_sec_your_secret_key_here" \
     -H "Accept: application/json"

Response Example

{
    "success": true,
    "message": "Campaign tracking password regenerated successfully.",
    "data": {
        "campaign_uuid": "9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4",
        "tracking_domain": "stats.domain.com",
        "tracking_password": "updatedPassWord123",
        "tracking_url": "https://stats.domain.com/campaign/overview/9c8a7b6f-4a3b-4c2d-9e1f-88b77a66c5d4"
    }
}