API Reference

Exercise your newfound powers.

It is showtime

Let’s send ourselves a demo gift of 100 NOK. Run the cURL command below, replacing both YOUR-API-KEY and YOUR-EMAIL-ADDRESS:

curl --request POST \
     --url https://sandbox.api.glede.app/v1/orders \
     --header 'accept: application/json' \
     --header 'authorization: Bearer YOUR-API-KEY' \
     --header 'content-type: application/json' \
     --data '
{
  "payment": {
    "invoiceEmail": "YOUR-EMAIL-ADDRESS",
    "giftCardAmount": 100
  },
  "recipients": [
    {
      "firstName": "Ola",
      "lastName": "Nordmann",
      "email": "YOUR-EMAIL-ADDRESS"
    }
  ]
}
'

And now check your email.
You’ll have received a gift sent to you via the Glede API. Congratulations, we’re in business!