{"_id":"55b27b2788093a21008bef06","user":"54d55b5abb29dd0d0042ae78","version":{"_id":"53fe6dc5addab8973c1af26a","__v":19,"project":"53fe6dc5addab8973c1af267","createdAt":"2014-08-27T23:46:13.941Z","releaseDate":"2014-08-27T23:46:13.941Z","categories":["53fe6dc5addab8973c1af26b","53fe71a2addab8973c1af276","53fe7d89addab8973c1af2b0","53fe7d8daddab8973c1af2b1","53fe836faddab8973c1af2ce","53ff9a4823a37e1d5cebafe1","53ff9e3723a37e1d5cebaff7","53ffaca523a37e1d5cebb039","53ffad2e23a37e1d5cebb03c","5400c7d2ec93b29b61d4f7be","5400f0e1ec93b29b61d4f7dd","54d5636323010a0d001aca81","54d565c1276f8e0d00feab54","54ff40532882a10d00546927","556606d25561af0d008208b7","558c91900b236c2500d37c9a","56180a14f8c9632100ac7599","564fb3a59b4fab1700187518","5702e2d2f2d6f336005e901f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"editedParams":true,"project":"53fe6dc5addab8973c1af267","parentDoc":null,"category":{"_id":"53fe836faddab8973c1af2ce","__v":4,"version":"53fe6dc5addab8973c1af26a","pages":["53fe84c8addab8973c1af2d4","53ff936c23a37e1d5cebafc7","53ff947e23a37e1d5cebafca","55b27b2788093a21008bef06"],"project":"53fe6dc5addab8973c1af267","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-08-28T01:18:39.777Z","from_sync":false,"order":3,"slug":"api-reference","title":"API Reference"},"editedParams2":true,"__v":2,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-24T17:51:35.916Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"Success","code":"{\n    success: true,\n  \tmessage: 'Your swag is on its way!'\n}","language":"json","status":200},{"status":403,"name":"Failure — Invalid App","code":"# provided application ID does not exist or secret is incorrect\n\n{\n    error: 'Invalid application.'\n}","language":"json"},{"name":"Failure — Invalid Information","status":400,"code":"# did not provide necessary shipping information\n\n{\n    error: 'Invalid Information.'\n}","language":"text"}]},"settings":"","examples":{"codes":[]},"method":"post","auth":"never","params":[{"_id":"53ff947e23a37e1d5cebafcc","ref":"","in":"body","required":false,"desc":"Your application ID","default":"","type":"string","name":"app_id"},{"_id":"53ff947e23a37e1d5cebafcb","ref":"","in":"body","required":false,"desc":"Your application secret","default":"","type":"string","name":"app_secret"},{"_id":"55b6ac29f8105a2f00c3534d","ref":"","in":"body","required":false,"desc":"Your name","default":"","type":"string","name":"name"},{"_id":"55b27b2788093a21008bef0d","ref":"","in":"body","required":false,"desc":"A valid email address","default":"","type":"string","name":"email"},{"_id":"55b27b2788093a21008bef0c","ref":"","in":"body","required":false,"desc":"First line of your shipping address","default":"","type":"string","name":"address_line_1"},{"_id":"55b27b2788093a21008bef0b","ref":"","in":"body","required":false,"desc":"Second line of your shipping address (optional)","default":"","type":"string","name":"address_line_2"},{"_id":"55b27b2788093a21008bef0a","ref":"","in":"body","required":false,"desc":"City of your shipping address","default":"","type":"string","name":"city"},{"_id":"55b27b2788093a21008bef09","ref":"","in":"body","required":false,"desc":"State or Province","default":"","type":"string","name":"state"},{"_id":"55b27b2788093a21008bef08","ref":"","in":"body","required":false,"desc":"Country (optional)","default":"","type":"string","name":"country"},{"_id":"55b27b2788093a21008bef07","ref":"","in":"body","required":false,"desc":"Zip or postal code","default":"","type":"string","name":"zip_code"}],"url":"https://clef.io/api/v1/swag"},"isReference":false,"order":3,"body":"","excerpt":"The API route to request stickers and other swag","slug":"apiv1swag","type":"endpoint","title":"/api/v1/swag"}

post/api/v1/swag

The API route to request stickers and other swag

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

app_id:
string
Your application ID
app_secret:
string
Your application secret
name:
string
Your name
email:
string
A valid email address
address_line_1:
string
First line of your shipping address
address_line_2:
string
Second line of your shipping address (optional)
city:
string
City of your shipping address
state:
string
State or Province
country:
string
Country (optional)
zip_code:
string
Zip or postal code

Result Format


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}