create one or multiple referralCampaigns

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

referralCampaignarray

version

number

schema version number

companyUuid

uuid

required

status

string

enum

required

draftpublishedarchived

Allowed:

draft``published``archived

title

string

required

description

string

segmentUuids

array of uuids

segmentUuids ADD uuid

positions

array of objects

positions ADD object

locations

array of objects

locations ADD object

default

boolean

falsetruefalse

messages

object

messagesobject

incentives

array of objects

incentives ADD object

incentive

object

incentiveobject

reminder

object

reminderobject

duration

object

durationobject

draft

object

draftobject

limitAvailability

boolean

falsetruefalse

customAttributeUuid

uuid

``201 One or many referralCampaign documents created. Wrapped in a JsonAPI root response.

``500 default error response

Updated3 months ago


ShellNodeRubyPHPPython


xxxxxxxxxx

curl --request POST \

--url https://services.fountain.com/api/servicereferral/referralCampaigns \

--header 'accept: application/json' \

--header 'content-type: application/json' \

--data '{"status":"draft"}'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

201500

Updated3 months ago