Skip to content

List all the unclaimed gifts

Request

Lists all the unclaimed gifts.

Security
ZephrHmacHttp
cURL
curl -i -X GET \
  https://demo.api.zephr.com/v3/gift \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Headers
any
Bodyapplication/json
Array [
idstring

Gift Id (passed as ?gift parameter in claim link)

Example:"58c3852bb23f3467"
createdstring

UTC timestamp when gift was created

Example:"2018-04-27T09:15:28Z"
claimedstring

UTC timestamp when gift was claimed

uristring

1823.html (string) - Path portion of URL gift will allow access to

Example:"/news/local/story"
cross_device_sessionstring

ID of cross-device session of claiming user (if claimed)

]
Response
[ { "id": "58c3852bb23f3467", "created": "2018-04-27T09:15:28Z", "uri": "/news/local/story" } ]