This method allows you to download a list of private exchanges and private exchange branded. In response you will get a id which you will then use in publication method.
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/exchange-api/v1/exchanges
- Http Method: GET
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Json response example
{
"exchanges": [
{
"id": "1883060f-c4a3-4170-a854-ce8ecbXXXXXX",
"name": "prywatna",
"type": "1_private",
"created_at": "2025-01-09T11:09:18.091Z"
},
{
"id": "773603a3-2b2a-40f8-9424-0ed17eXXXXXX",
"name": "Biznes",
"type": "2_corporate",
"created_at": "2024-05-28T08:24:23.725Z"
},
{
"id": "dba2b0fe-5485-4bd7-8ab4-1f554eXXXXXX",
"name": "prywatna",
"type": "1_private",
"created_at": "2024-02-23T20:57:54.000Z"
},
{
"id": "e14d2b0c-799c-4b9e-8de5-b58d1fXXXXXX",
"name": "Exchange test",
"type": "2_corporate",
"created_at": "2024-09-18T12:02:45.833Z"
}
],
"page": 1,
"page_size": 4,
"has_next_page": false
}