Get an Authentication Token - Authentication (2024)

Get a JWT for API Authentication Using an HTTP POST Request

Connecting to the Dataloop Platform API

Once you have your API Credentials set, you may use it to obtain a JWT for the Dataloop platform.

The Dataloop API uses Auth authentication scheme, where each HTTP request has JWT attached to it via the Authorization header.

Basic Flow

  • Initiate an HTTP request using API Credentials and get your JWT.
  • As long as the JWT is not expired, you can add it as a Bearer authorization header.

Get an Authentication Token - Authentication (1)

Generating a JWT

The request schema is as follows:

POST https://gate.dataloop.ai/token?default
Content-Type: application/json
Body

{ "username": "<user name>", "password": "<user password>", "type": "user_credentials"}

For example using Postman:

Get an Authentication Token - Authentication (2)

Click Send and you'll get a response in the following format:

{ "access_token": "...", "id_token": "...", "refresh_token": "...",}

Use the id_token (JWT) from the response as your authorization JWT for future requests.

JWT Expiration

Once the JWT expires, user should issue a request for a new JWT. Expiration period is 24 hours (but may be updated in the future).
There are many tools and libraries to decode JWTs, for example, https://jwt.io/ allows interactive decoding.

A decoded JWT will look as follows:

{ "name": "Name", "nickname": "Name", "picture": "https://example.com", "locale": "he", "updated_at": "2025-09-23T06:06:17.641Z", "email": "zaphod@dataloop.ai", "email_verified": true, "iss": "https://dataloop-development.auth0.com/", "sub": "google-oauth2|101916523885779176498", "aud": "I44w8", "iat": 1569218779, "exp": 1569283579,}

Note:

  • In order to obtain the expiration date, you will need to decode the JWT. You will also need to extract the exp field to get your JWT lifetime.
  • You will need to refresh your JWT before its expiration date.

Continue to use the JWT for HTTP request to the platform (with bearer authentication)

Get an Authentication Token - Authentication (2024)
Top Articles
Now Newbies Can Sell Bitcoin in Dubai and Get Cash at SBID Crypto OTC
Zero Depreciation Car Insurance Cover After 5 Years
Cappacuolo Pronunciation
Uti Hvacr
Faint Citrine Lost Ark
The Ivy Los Angeles Dress Code
Myhr North Memorial
Zitobox 5000 Free Coins 2023
Ub Civil Engineering Flowsheet
State Of Illinois Comptroller Salary Database
Morgan Wallen Pnc Park Seating Chart
Mercy MyPay (Online Pay Stubs) / mercy-mypay-online-pay-stubs.pdf / PDF4PRO
Detroit Lions 50 50
4Chan Louisville
Everything You Need to Know About Holly by Stephen King
My.doculivery.com/Crowncork
Bjork & Zhulkie Funeral Home Obituaries
Dutchess Cleaners Boardman Ohio
Shreveport Active 911
Nene25 Sports
Busted Barren County Ky
Aucklanders brace for gales, hail, cold temperatures, possible blackouts; snow falls in Chch
Las 12 mejores subastas de carros en Los Ángeles, California - Gossip Vehiculos
Walgreens Tanque Verde And Catalina Hwy
Wgu Academy Phone Number
UPS Store #5038, The
Www Craigslist Com Bakersfield
Persona 5 Royal Fusion Calculator (Fusion list with guide)
Quadcitiesdaily
Evil Dead Rise Showtimes Near Pelican Cinemas
Caring Hearts For Canines Aberdeen Nc
Surplus property Definition: 397 Samples | Law Insider
Accuweather Minneapolis Radar
Sound Of Freedom Showtimes Near Movie Tavern Brookfield Square
January 8 Jesus Calling
Access a Shared Resource | Computing for Arts + Sciences
Biografie - Geertjan Lassche
Craigslist Middletown Ohio
Dtlr On 87Th Cottage Grove
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Moses Lake Rv Show
Linabelfiore Of
Closest 24 Hour Walmart
Western Gold Gateway
Boone County Sheriff 700 Report
Hillsborough County Florida Recorder Of Deeds
Zeeks Pizza Calories
Devotion Showtimes Near Showplace Icon At Valley Fair
Cara Corcione Obituary
Tommy Gold Lpsg
Tyrone Dave Chappelle Show Gif
Fetllife Com
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6514

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.