curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/json-templates/{json-template-id} \
--header 'Authorization: Bearer <token>'
{
"adFormat": "banner",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isArchived": false,
"jsonSchema": {},
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"previewScreenshot": "<string>",
"previewUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
Endpoint to get a specific JSON template by ID.
curl --request GET \
--url https://api.topsort.com/public/v1/campaign-service/json-templates/{json-template-id} \
--header 'Authorization: Bearer <token>'
{
"adFormat": "banner",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isArchived": false,
"jsonSchema": {},
"marketplaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"previewScreenshot": "<string>",
"previewUrl": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
A valid API key generated in Topsort's UI.
JSON template ID to retrieve.
Successful Response
The response is of type object
.