cURL
curl --request GET \ --url https://api.smokeball.com/referraltypes \ --header 'Authorization: <api-key>' \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET", "self": { "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }, "value": [ { "href": "<string>", "relation": "<string>", "method": "GET", "self": { "id": "<string>", "href": "<string>", "relation": "<string>", "method": "<string>" }, "id": "<string>", "name": "<string>", "isDeleted": true } ] }
Returns referral types, including custom referral types.
When request is successful. Returns a list of ReferralType objects.
ReferralType
The response is of type object.
object