curl --request PUT \
--url https://api.extole.io/v6/report-types/{id}/parameters-add \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"category": "category",
"default_value": "default_value",
"description": "description",
"display_name": "display_name",
"is_required": true,
"name": "name",
"order": 1,
"type": "DYNAMIC",
"type_name": "AUDIENCE_ID",
"values": [
"value"
]
}
]
'import requests
url = "https://api.extole.io/v6/report-types/{id}/parameters-add"
payload = [
{
"category": "category",
"default_value": "default_value",
"description": "description",
"display_name": "display_name",
"is_required": True,
"name": "name",
"order": 1,
"type": "DYNAMIC",
"type_name": "AUDIENCE_ID",
"values": ["value"]
}
]
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
category: 'category',
default_value: 'default_value',
description: 'description',
display_name: 'display_name',
is_required: true,
name: 'name',
order: 1,
type: 'DYNAMIC',
type_name: 'AUDIENCE_ID',
values: ['value']
}
])
};
fetch('https://api.extole.io/v6/report-types/{id}/parameters-add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.extole.io/v6/report-types/{id}/parameters-add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
[
'category' => 'category',
'default_value' => 'default_value',
'description' => 'description',
'display_name' => 'display_name',
'is_required' => true,
'name' => 'name',
'order' => 1,
'type' => 'DYNAMIC',
'type_name' => 'AUDIENCE_ID',
'values' => [
'value'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v6/report-types/{id}/parameters-add"
payload := strings.NewReader("[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.extole.io/v6/report-types/{id}/parameters-add")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v6/report-types/{id}/parameters-add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]"
response = http.request(request)
puts response.read_body{
"allowed_scopes": [
"CLIENT_ADMIN"
],
"categories": [
"<string>"
],
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"data_sources": [
"AUDIT_EMAIL"
],
"data_start": "2025-10-24T02:00:00-07:00",
"description": "<string>",
"display_name": "<string>",
"executor_type": "DASHBOARD",
"formats": [
"CSV"
],
"name": "<string>",
"parameters": [
{
"category": "<string>",
"default_value": "<string>",
"description": "<string>",
"display_name": "<string>",
"is_required": true,
"name": "<string>",
"order": 123,
"type": {
"name": "AUDIENCE_ID",
"value_type": "DYNAMIC",
"values": [
"<string>"
]
}
}
],
"preview_columns": [
{
"name": "<string>",
"note": "<string>",
"sample_value": "<string>"
}
],
"scopes": [
"CLIENT_ADMIN"
],
"tags": [
{
"name": "<string>",
"type": "GLOBAL"
}
],
"type": "CONFIGURED",
"visibility": "EXTOLE_ONLY",
"created_date": "2025-10-24T02:00:00-07:00",
"updated_date": "2025-10-24T02:00:00-07:00"
}Add dynamic parameters to a report type
Appends the supplied dynamic parameters to the report type’s parameters list. Static parameters cannot be added via this endpoint - use POST /v6/report-types or PUT /v6/report-types/{id} to configure those. Returns the report type after the update.
curl --request PUT \
--url https://api.extole.io/v6/report-types/{id}/parameters-add \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
[
{
"category": "category",
"default_value": "default_value",
"description": "description",
"display_name": "display_name",
"is_required": true,
"name": "name",
"order": 1,
"type": "DYNAMIC",
"type_name": "AUDIENCE_ID",
"values": [
"value"
]
}
]
'import requests
url = "https://api.extole.io/v6/report-types/{id}/parameters-add"
payload = [
{
"category": "category",
"default_value": "default_value",
"description": "description",
"display_name": "display_name",
"is_required": True,
"name": "name",
"order": 1,
"type": "DYNAMIC",
"type_name": "AUDIENCE_ID",
"values": ["value"]
}
]
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
category: 'category',
default_value: 'default_value',
description: 'description',
display_name: 'display_name',
is_required: true,
name: 'name',
order: 1,
type: 'DYNAMIC',
type_name: 'AUDIENCE_ID',
values: ['value']
}
])
};
fetch('https://api.extole.io/v6/report-types/{id}/parameters-add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.extole.io/v6/report-types/{id}/parameters-add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
[
'category' => 'category',
'default_value' => 'default_value',
'description' => 'description',
'display_name' => 'display_name',
'is_required' => true,
'name' => 'name',
'order' => 1,
'type' => 'DYNAMIC',
'type_name' => 'AUDIENCE_ID',
'values' => [
'value'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v6/report-types/{id}/parameters-add"
payload := strings.NewReader("[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.extole.io/v6/report-types/{id}/parameters-add")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v6/report-types/{id}/parameters-add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"category\": \"category\",\n \"default_value\": \"default_value\",\n \"description\": \"description\",\n \"display_name\": \"display_name\",\n \"is_required\": true,\n \"name\": \"name\",\n \"order\": 1,\n \"type\": \"DYNAMIC\",\n \"type_name\": \"AUDIENCE_ID\",\n \"values\": [\n \"value\"\n ]\n }\n]"
response = http.request(request)
puts response.read_body{
"allowed_scopes": [
"CLIENT_ADMIN"
],
"categories": [
"<string>"
],
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"data_sources": [
"AUDIT_EMAIL"
],
"data_start": "2025-10-24T02:00:00-07:00",
"description": "<string>",
"display_name": "<string>",
"executor_type": "DASHBOARD",
"formats": [
"CSV"
],
"name": "<string>",
"parameters": [
{
"category": "<string>",
"default_value": "<string>",
"description": "<string>",
"display_name": "<string>",
"is_required": true,
"name": "<string>",
"order": 123,
"type": {
"name": "AUDIENCE_ID",
"value_type": "DYNAMIC",
"values": [
"<string>"
]
}
}
],
"preview_columns": [
{
"name": "<string>",
"note": "<string>",
"sample_value": "<string>"
}
],
"scopes": [
"CLIENT_ADMIN"
],
"tags": [
{
"name": "<string>",
"type": "GLOBAL"
}
],
"type": "CONFIGURED",
"visibility": "EXTOLE_ONLY",
"created_date": "2025-10-24T02:00:00-07:00",
"updated_date": "2025-10-24T02:00:00-07:00"
}Body
AUDIENCE_ID, AUDIENCE_IDS, AUDIENCE_MEMBERSHIPS_METRIC_MAPPING, AUDIENCE_MEMBERSHIPS_ROW_MAPPINGS, AUDIENCE_MEMBERS_ROW_MAPPINGS, BOOLEAN, CAMPAIGN_ID, CAMPAIGN_IDS, CHANNEL_MAPPING, CLIENT_EVENT_METRIC_MAPPINGS, CLIENT_ID, CLIENT_IDS, DATE, DATE_RANGE, DECIMAL, EMAIL_NAMES, ENUM, ENUM_LIST, EQUALITY, FILTER_MAPPINGS, FLOWS, FLOW_FILTER, GRANULAR_TIME_RANGE, ID, IDS, INPUT_RECORD_METRIC_MAPPING, INPUT_RECORD_ROW_MAPPINGS, INTEGER, LONG, MESSAGE_SUMMARY_METRIC_MAPPINGS, METRIC_MAPPINGS, MODEL_CONFIGURATION_METRIC_MAPPING, NORMALIZED_EMAIL, NOT_ARCHIVED_CAMPAIGN_ID, PERSON_DIMENSION_MAPPINGS, PERSON_MAPPINGS, PROGRAM_LABEL, PROGRAM_LABELS, REGEX, REWARD_EVENT_METRIC_MAPPINGS, REWARD_ROW_MAPPINGS, REWARD_SUPPLIER_DISPLAY_TYPES, REWARD_SUPPLIER_IDS, REWARD_SUPPLIER_TYPES, ROW_MAPPINGS, SORT_ORDER_MAPPINGS, SORT_ORDER_MAPPINGS_ON_STEPS, STEP, STEPS, STEP_COLUMN_LIST, STRING, STRING_LIST, TIERS, TIME, TIME_RANGE, WEBHOOK_DISPATCH_METRIC_MAPPING, WEBHOOK_DISPATCH_ROW_MAPPINGS, WEBHOOK_METRIC_MAPPING, WEBHOOK_ROW_MAPPINGS Response
Report type definition including display metadata, parameters, formats, scopes, visibility, tags, and component references.
- CONFIGURED
- DASHBOARD
- SPARK
- SQL
Report type definition. Polymorphic on type: SQL, SPARK, DASHBOARD, and CONFIGURED share the common metadata below (display name, description, scopes, parameters, formats, tags, data sources) and add their own type-specific fields.
Underlying data sources the report type reads from.
Underlying data sources the report type reads from.
AUDIT_EMAIL, BATCH, CLIENT, CLIENT_CHANGE, CONSUMER, CONSUMER_PROFILE, DASHBOARD, DATA_INTELLIGENCE, MESSAGE, NOTIFICATION, PROFILE, REWARD, REWARD_COMMAND, WEBHOOK, WEBHOOK_DISPATCH_RESULT RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Access scopes the report type is available to (e.g. CLIENT_ADMIN, USER_SUPPORT). Lists only the scopes the caller can see.
Access scopes the report type is available to (e.g. CLIENT_ADMIN, USER_SUPPORT). Lists only the scopes the caller can see.
CLIENT_ADMIN, CLIENT_SUPERUSER, CONSUMER_PUBLIC, USER_SUPPORT RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
RFC 3339 or RFC 9557 date-time with a numeric UTC offset and an optional IANA time-zone suffix in square brackets. Precision up to milliseconds.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])(\[[^\]]+\])?$"2025-10-24T02:00:00-07:00"
Was this page helpful?
