Create a dynamic URL
- application/json
Request Body
- url string required
URL of the website where the dynamic URL will be used
- google_bot_filter boolean required
Filter out visits made by google bots
- subdomain_tracking boolean required
Keep the same visit open when visitor visits subdomain
pool object
name string requiredprefix string requiredformat string requirednumbers_to_replace string[]international_format stringcustom_format string
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
- va_code string
- url string
- google_bot_filter boolean
- subdomain_tracking boolean
pool object
id integername stringprefix object
prefix stringPossible values: Value must match regular expression
[1-9]{1,3}[0-9]+
description stringcountry stringformat stringinternational_format stringcustom_format stringnumbers_to_replace string[]Possible values: Value must match regular expression
^[0-9]{1,14}$
{
"va_code": "VA-00001",
"url": "www.mediahawk.co.uk",
"google_bot_filter": false,
"subdomain_tracking": false,
"pool": {
"id": 1,
"name": "My first pool",
"prefix": {
"prefix": "441234",
"description": "01234 - Bedford",
"country": "GB"
},
"format": "0800 000 0000",
"international_format": "None",
"custom_format": "",
"numbers_to_replace": [
"441111222333",
"00302932323"
]
}
}
Validation error in request, details can be found in the body of the response