Retrieve user information

A user should be able to retrieve his company information.

Note

The user should be logged in.

GET https://api.tradingpartners.ai/api/v1/users/info

Get users/info response object

Attributes


name - string max:255
Name of the company


website - nullable string fmt:url max:255
URL of the company website


sector - string enum
Sector of activity of the company
  • Administration - civil service
  • Food industry
  • Arts and crafts
  • Associations
  • Banking - insurance - financial services
  • Wood/Paper/Cardboard/Printing
  • Public works/construction materials
  • Chemicals - plastics - packaging
  • Chemicals/Pharmaceuticals
  • Retail - mass distribution
  • Commerce/Trading/Distribution
  • Communication - marketing - information
  • Construction - building - public works
  • Culture - sports - leisure
  • Publishing/Communications/Multimedia
  • Electronics/Electricity
  • Energy
  • Education - training
  • Environment - recovery - recycling - water treatment
  • Equipment - materials for professional activities
  • Studies and consultancy
  • Manufacturing - wholesale of articles for sale
  • Management - business administration
  • Hotels - catering - tourism
  • Real estate
  • Textile industry
  • Information technology
  • IT/Telecoms
  • Design and research engineers - researchers
  • Logistics - transport
  • Machinery and equipment Automotive
  • Electrical - electronic - optical equipment
  • Mechanics - metallurgy
  • Metallurgy/Metal working
  • Ores - minerals - iron and steel
  • Legal professions
  • Health - social work
  • Business services
  • Services to individuals - communities - companies
  • Textiles/Clothing/Footwear
  • Transport/Logistics

address - string max:255
Address of the company


zipCode - string max:10
Address zip code of the company


city - string max:255
City of the company


country - string enum
Company country
  • Afghanistan
  • Albania
  • Algeria
  • American Samoa
  • Andorra
  • Angola
  • Anguilla
  • Antigua and Barbuda
  • Argentina
  • Armenia
  • Aruba
  • Australia
  • Austria
  • Azerbaijan
  • Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belarus
  • Belgium
  • Belize
  • Benin
  • Bermuda
  • Bhutan
  • Bolivia, Plurinational State of
  • Bosnia and Herzegovina
  • Botswana
  • Brazil
  • British Indian Ocean Territory
  • Brunei Darussalam
  • Bulgaria
  • Burkina Faso
  • Burundi
  • Cambodia
  • Cameroon
  • Canada
  • Cape Verde
  • Cayman Islands
  • Central African Republic
  • Chad
  • Chile
  • China
  • Christmas Island
  • Cocos (Keeling) Islands
  • Colombia
  • Comoros
  • Congo
  • Congo, The Democratic Republic of the
  • Cook Islands
  • Costa Rica
  • Croatia
  • Cuba
  • Cyprus
  • Czech Republic
  • Denmark
  • Djibouti
  • Dominica
  • Dominican Republic
  • Ecuador
  • Egypt
  • El Salvador
  • Equatorial Guinea
  • Eritrea
  • Estonia
  • Ethiopia
  • Falkland Islands (Malvinas)
  • Faroe Islands
  • Fiji
  • Finland
  • France
  • French Guiana
  • French Polynesia
  • Gabon
  • Gambia
  • Georgia
  • Germany
  • Ghana
  • Gibraltar
  • Greece
  • Greenland
  • Grenada
  • Guadeloupe
  • Guam
  • Guatemala
  • Guinea
  • Guinea-Bissau
  • Guyana
  • Haiti
  • Holy See (Vatican City State)
  • Honduras
  • Hong Kong
  • Hungary
  • Iceland
  • India
  • Indonesia
  • Iran
  • Iraq
  • Ireland
  • Isle of Man
  • Israel
  • Italy
  • Jamaica
  • Japan
  • Jersey
  • Jordan
  • Kazakhstan
  • Kenya
  • Kiribati
  • Korea, Democratic People's Republic of
  • Korea, Republic of
  • Kuwait
  • Kyrgyzstan
  • Lao People's Democratic Republic
  • Latvia
  • Lebanon
  • Lesotho
  • Liberia
  • Libyan Arab Jamahiriya
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Macao
  • Macedonia, The Former Yugoslav Republic of
  • Madagascar
  • Malawi
  • Malaysia
  • Maldives
  • Mali
  • Malta
  • Marshall Islands
  • Martinique
  • Mauritania
  • Mauritius
  • Mayotte
  • Mexico
  • Micronesia, Federated States of
  • Moldova, Republic of
  • Monaco
  • Mongolia
  • Montenegro
  • Montserrat
  • Morocco
  • Mozambique
  • Myanmar
  • Namibia
  • Nauru
  • Nepal
  • Netherlands
  • Netherlands Antilles
  • New Caledonia
  • New Zealand
  • Nicaragua
  • Niger
  • Nigeria
  • Niue
  • Norfolk Island
  • Northern Mariana Islands
  • Norway
  • Oman
  • Pakistan
  • Palau
  • Palestine
  • Panama
  • Papua New Guinea
  • Paraguay
  • Peru
  • Philippines
  • Pitcairn
  • Poland
  • Portugal
  • Puerto Rico
  • Qatar
  • Réunion
  • Romania
  • Russia
  • Rwanda
  • Saint Barthélemy
  • Saint Helena, Ascension and Tristan Da Cunha
  • Saint Kitts and Nevis
  • Saint Lucia
  • Saint Martin
  • Saint Pierre and Miquelon
  • Saint Vincent and the Grenadines
  • Samoa
  • San Marino
  • São Tomé and Príncipe
  • Sark Island
  • Saudi Arabia
  • Senegal
  • Serbia
  • Seychelles
  • Sierra Leone
  • Singapore
  • Slovakia
  • Slovenia
  • Solomon Islands
  • Somalia
  • South Africa
  • South Georgia and the South Sandwich Islands
  • South Korea
  • Spain
  • Sri Lanka
  • Sudan
  • Suriname
  • Svalbard and Jan Mayen
  • Swaziland
  • Sweden
  • Switzerland
  • Syrian Arab Republic
  • Taiwan, Province of China
  • Tajikistan
  • Tanzania, United Republic of
  • Thailand
  • Timor-Leste
  • Togo
  • Tokelau
  • Tonga
  • Trinidad and Tobago
  • Tunisia
  • Turkey
  • Turkmenistan
  • Turks and Caicos Islands
  • Tuvalu
  • Uganda
  • Ukraine
  • United Arab Emirates
  • United Kingdom
  • United States
  • Uruguay
  • Uzbekistan
  • Vanuatu
  • Venezuela, Bolivarian Republic of
  • Viet Nam
  • Wallis and Futuna
  • Yemen
  • Zambia
  • Zimbabwe

contact - object
Company contact information

name - string max:255
Company contact firstname.

surname - string max:255
Company contact lastname.

email - string fmt:email max:320
Company contact email.

phone - string max:15
Phone number of the contact.

Authorization header

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXN0IjoidG9rZW4iLCJmb3IiOiJ1c2VyIiwid2l0aCI6ImdyYWRlIiwiZnVsbCI6dHJ1ZX0.sWNz-Z0oGGWoSwaVlOGyzCQdYCWJQmKSSFvZIJzchZw

Get users/info response object

{
  "name": "myCompany",
  "website": "https://mycompany.com",
  "sector": "Administration - civil service",
  "address": "426 Jordy Lodge",
  "zipCode": "88120",
  "city": "Cartwrightshire",
  "country": "Spain",
  "contact": {
    "name": "John",
    "surname": "Doe",
    "email": "john.doe@gmail.com",
    "phone": "+33666666666"
  }
}