Request Bodies

Generally speaking, you are usually required to supply a JSON object in your request body whenever making POST, PUT, or PATCH requests. If you’re creating a Prize, for example, your request might look like the below.

POST /api/v1/prizes HTTP/1.1
Authorization: Bearer YOUR_API_KEY
Content-Type: text/plain; charset=utf-8

{
  "prize_type": "cash",
  "phone_number": "0431319208",
  "cash_amount": 50.00
}