Mirror
The mirror update API currently consists of a single endpoint, which is described below.
Request example:
curl -X POST 'https://api.croplink.net/public/v1/mirror/campaign/1/mirror' \
--header 'Authorization: Bearer [yourAuthKey]' \
--header 'Content-Type: application/json' \
--data '{
"mirror_endpoint": "https://your-mirror.com"
}'{
"mirror": {
"id": 1,
"campaign_id": 1,
"target_url": "https://your-mirror.com",
"clicks": 0,
"updated_externally": true,
"updated_externally_at": "2025-01-27T17:39:41.000000Z",
"created_at": "2025-01-27T17:39:35.000000Z",
"updated_at": "2025-01-27T17:39:41.000000Z"
}
}Request Body Descriptions
Body parameter
Description
Error Responses
HTTP code
Response body
Description
Last updated