Channels API

Create Channel

POST /v1.0/channels

Parameters

Name Description
name Channel Name
allow_sms_keyword Enable SMS keyword search on offers created for this channel
allow_hmac Enable HMAC security on offers created for this channel
conversion_callback_url Enable a POST to the URL of your choice on redemption

Request

Headers

Accept: application/json
Content-Type: application/json
X-Auth-Token: 4909416d26134370a48122fc18f4f383d470797474d51ee162b0a9d4ae320f6d

Route

POST /v1.0/channels

Body

Response

Headers

Cache-Control: max-age=0, private, must-revalidate
Content-Length: 171
Content-Type: application/json; charset=utf-8
Etag: "af1846ac423de4542674efdbdff929d5"
Location: http://localhost:4000/v1.0/channels/3
Server: thin 1.5.1 codename Straight Razor
X-Request-Id: 7d465612878c2a7569017a65bf93a768
X-Runtime: 0.065121
X-Ua-Compatible: IE=Edge,chrome=1
Date: Tue, 16 Feb 2016 13:36:21 GMT

Status

201 Created

Body