Create referral

POST {{integrationBaseUrl}}/braze/referral

Create a referral code in Talon.One. To use it in your Braze deployment, see the tutorial.

Request Body

{"deploymentUrl"=>"mycompany.europe-west1.talon.one", "campaignId"=>5672, "advocateProfileIntegrationId"=>"2", "friendProfileIntegrationId"=>"3", "startDate"=>"2021-09-30T15:35:02.371569+02:00", "expiryDate"=>"2021-10-03T15:35:02.371569+02:00", "usageLimit"=>3, "attributes"=>{"welcome_message"=>"Welcome!"}}

HEADERS

KeyDatatypeRequiredDescription
X-DRY-RUNbooleanIndicates whether to persist the changes. Changes are ignored when X-DRY-RUN=true.
Content-Typestring
Acceptstring