curl --request POST \
--url https://api-next.ofauth.com/v2/access/promotions/tracking-links/share-access \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"campaignId": 1,
"userId": 1
}
'{
"success": true
}Share tracking link access with a user
Permission Required: promotions:write
curl --request POST \
--url https://api-next.ofauth.com/v2/access/promotions/tracking-links/share-access \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"campaignId": 1,
"userId": 1
}
'{
"success": true
}Requires a connection via the x-connection-id header.
Successful response
Was this page helpful?