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://portal.upodi.io/ 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 --location --request GET 'https://api-front.upodi.io/tenantdetails' \
--header 'X-version: {version}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {ApiKey}' \
UpodiService Upodi = new UpodiService("{APIKey}");
var customers = Upodi.Customers.List(all: true);