Documentation for Linkrunner Campaign APIs
YOUR_API_KEY
with your actual API key.
linkrunner-key
header for all API requests"Server key missing!"
"Server key invalid!"
"Rate limit exceeded. Please try again later."
Parameter | Type | Description |
---|---|---|
name | string | Required. Name of the campaign |
deeplink | string | Optional. Deep link URL for the campaign |
link_for_desktop_users | string | Optional. For desktop visitors |
custom_display_id | string | Optional. Custom identifier for display purposes |
Parameter | Type | Description |
---|---|---|
name | string | Optional. Name of the campaign |
active | boolean | Optional. Campaign status |
HTTP Status | Message | When/Why |
---|---|---|
400 | ”Campaign display ID is required!” | If the display_id param is missing |
400 | ”At least one field (name or active) is required for update!” | If both name and active are missing in the request body |
400 | ”Campaign name cannot be empty!” | If name is provided but is empty or only whitespace |
400 | ”Active field must be a boolean!” | If active is provided but is not a boolean |
404 | ”Campaign not found!” | If the campaign with the given display_id does not exist |
500 | ”Internal server error” |
HTTP Status | Message | When/Why |
---|---|---|
400 | ”Campaign display ID is required!” | If the display_id param is missing |
404 | ”Campaign not found!” | If the campaign with the given display_id does not exist |
500 | ”Internal server error” |
link_for_desktop_users
URL to ensure desktop visitors are redirected to a relevant webpage instead of app stores.