Jump to Content
API Reference
v2.0-commercial
v2.0-government
v3.0-government
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Government 3.0
API Reference
Create entity
Search
All
Pages
Start typing to search…
JUMP TO
Getting Started
Getting Started with Legion
Legion Platform API
Entities
Create entity
post
Search entities
post
Delete entity
delete
Get entity by ID
get
Update entity
put
Entity Locations
Search entity locations
post
Get paginated entity locations by entity ID
get
Create entity location
post
Get entity location that belongs to the entity by ID
get
Data Feed Definitions
Create a new feed definition
post
Search feed definitions
post
Delete a feed definition
delete
Get feed definition by ID
get
Update a feed definition
put
Data Feeds
Get latest feed data for an entity
get
Get latest feed data for an entity across all feed definitions
get
Ingest feed file data
post
Ingest feed message data
post
Search feed data
post
Integrations
Create a new integration from a manifest
post
List integrations by organization
get
Delete an integration
delete
Get an integration by ID
get
Update an integration from a manifest
put
Integration Updates
Get integration changelog
get
Get integration update info
get
Check for integration updates
get
Integration Auth
Check if re-authorization is required
get
Admin confirm device activation
post
Authorize an OAuth client
get
Create a new OAuth client
post
Get an OAuth client by integration ID
get
Delete an OAuth client
delete
Get an OAuth client by ID
get
Update an OAuth client
put
Initiate device authorization
post
Complete device integration addition
post
Initiate re-authorization flow
post
Prepare OAuth authorization
post
Exchange a code for a token
post
Get token information
get
Integration Manifests
Create a new manifest version
post
Delete a manifest
delete
Get a manifest by ID
get
Update a manifest
put
List manifests by integration ID
get
Get a manifest by integration ID and version
get
Me
Gets current user
get
Update current user
patch
Get user's organization invites
get
Get user's organizations
get
WebRTC
Delete all WebRTC websocket connection IDs for the current user
delete
Get all WebRTC websocket connection IDs for the current user
get
Create a new WebRTC websocket connection ID for the current user
post
Delete a specific WebRTC websocket connection ID for the current user
delete
Get a specific WebRTC websocket connection ID for the current user
get
Organization Invitations
Accept organization invitation
post
Decline organization invitation
post
Create organization invitation
post
Delete organization invitation
delete
Get organization invitation
get
Organizations
Get organization by ID
get
Update organization
patch
Organization Users
Get all organization users
get
Delete organization user
delete
Get organization user
get
Update organization user
put
Orion
Get a specific organization's orion settings
get
Creates or Updates a specific organization's orion settings
put
Tasking
Dispatches a task
post
Ask AI
Create entity
post
https://us-gov.legion.picogrid.com/v3/entities
Creates a new entity.
Language
Shell
Node
Ruby
PHP
Python
Credentials
Header
Header
RESPONSE
Click
Try It!
to start a request and see the response here!