Making your first request

Authentication

Create an API key
In order to communicate with your instance of Upodi you will have to create an API key.

Head over to https://app.upodi.io/ApiKey/ and create an access token with read and write permissions. Copy the access token to your clipboard - we will need it shortly.

Making Requests

To perform an API action you need to make an API request. For HTTP POST and PUT method, the Upodi API accepts application/json media type.

To ensure requests are treated as JSON, please add the following http headers:

Accept: application/json; charset=utf-8
Content-type: application/json; charset=utf-8

Your first API request

curl -X GET https://api.upodi.io/v2/customers/
-H 'Accept: application/json'
-H "Authorization: Bearer {UpodiAPIKey};"
UpodiService Upodi = new UpodiService("{APIKey}");

var customers = Upodi.Customers.List(all: true);