---
title: Authentication
description: "Login Endpoint: POST /api/pas/login"
---

[Skip to content](https://info.ursaspace.com/oil-storage-authentication#main-content)

English

Show submenu for translations

![Default_Ursa Space Logo_For Light BG_Black Red](https://info.ursaspace.com/hs-fs/hubfs/Default_Ursa%20Space%20Logo_For%20Light%20BG_Black%20Red.png?width=75&height=48&name=Default_Ursa%20Space%20Logo_For%20Light%20BG_Black%20Red.png)

- [Home](https://ursaspace.com/)
- [Blog](https://ursaspace.com/all-news/)

Open main navigation

Close main navigation

- [Home](https://ursaspace.com/)
- [Blog](https://ursaspace.com/all-news/)
- English
  
  Show submenu for translations
- Go to ursaspace.com

 Go to ursaspace.com

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Info](https://info.ursaspace.com/)
2. [Global Oil Storage](https://info.ursaspace.com/global-oil-storage)

# Authentication

## Login Endpoint: POST /api/pas/login

Part 1: [Login Endpoint](https://info.ursaspace.com/oil-storage-authentication)

Part 2: [Aggregate Endpoint](https://info.ursaspace.com/oil-storage-aggregate-endpoint)

Part 3: [Detailed Endpoint](https://info.ursaspace.com/oil-storage-detailed-endpoint)

---

 

To utilize the login endpoint, make a POST call including the username and password. A valid token will be returned. The login endpoint general request form is: 

```
https://platform.ursaspace.com/api/pas/login 
```

The body should contain Key value pairs for user and password as well as setting the grant\_type to password 

```
username    <your user name>password    <your password>grant_type  password
```

Here is an example HTTP Request: 

```
POST /api/pas/login HTTP/1.1Host: platform.ursaspace.comcache-control: no-cacheusername=<your username>password=<your password>grant_type=password 
```

Here is an example cURL: 

```
curl -X POST \   https://platform.ursaspace.com/api/pas/login \   -H ‘cache-control: no-cache’ \   -d ‘username=<your username>&password=<your password>&grant_type=password’ 
```

Note: Postman can help you figure out which special characters need encoding for a variety of languages when making REST calls (see the [Generating client code | Postman Learning Center](https://learning.postman.com/docs/sending-requests/generate-code-snippets/) ) 

The login response includes your valid JWT:

```
{    “access_token”: “<your JWT is here>” “token_type”: “Bearer”,    “expires_in”: <expiration time in seconds> }
```

 

- [General](https://info.ursaspace.com/general)
- [Analytics](https://info.ursaspace.com/analytics)
- [Imagery](https://info.ursaspace.com/imagery)
- [Global Oil Storage](https://info.ursaspace.com/global-oil-storage)
- [Global Monitoring Service](https://info.ursaspace.com/global-monitoring-service)
- [Stockpile Measurement](https://info.ursaspace.com/stockpile-measurement)

- [Home](https://ursaspace.com/)
- [Blog](https://ursaspace.com/all-news/)

[![Default_Ursa Space Logo_For Light BG_Black Red](https://info.ursaspace.com/hs-fs/hubfs/Default_Ursa%20Space%20Logo_For%20Light%20BG_Black%20Red.png?width=75&height=48&name=Default_Ursa%20Space%20Logo_For%20Light%20BG_Black%20Red.png "Default_Ursa Space Logo_For Light BG_Black Red")](http://www.ursaspace.com)

Copyright © 2026, Ursa Space Systems Inc.

```json
{
  "@context" : "https://schema.org",
  "@type" : "VideoObject",
  "contentUrl" : "https://4160389.fs1.hubspotusercontent-na1.net/hubfs/4160389/Global%20Oil%20Storage%20API%20-%201%20of%203%20-%20Authorization%20-%20Daniel%20062823.mp4",
  "dateModified" : "2024-04-16T18:01:06.040Z",
  "duration" : "PT3M11S",
  "height" : 678,
  "name" : "Global Oil Storage API - 1 of 3 - Authorization - Daniel 062823",
  "thumbnailUrl" : "https://4160389.fs1.hubspotusercontent-na1.net/hubfs/4160389/Global%20Oil%20Storage%20API%20-%201%20of%203%20-%20Authorization%20-%20Daniel%20062823.mp4/medium.jpg?t=0",
  "uploadDate" : "2024-04-16T18:01:06.034Z",
  "width" : 1280
}
```