Jump to Content
API Reference
v0.7
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
v0.7
API Reference
Create a new source
Search
All
Pages
Start typing to search…
JUMP TO
NPDI API
The National Police Data Index
Authentication
Authentication
Register New Account
post
Log In
post
Refresh Access Token
post
Log Out
post
Current User
get
Officers
Officers
Get officers
get
Latest Officer Updates
get
Advanced Officer Filter
post
Create a new officer
post
Get officer by uid
get
Update an existing officer
patch
Delete an officer
delete
Employment History
Get Employment History
get
Update Employment History
put
Agencies
Agencies
Get Agencies
get
Create Agency
post
Get Agency
get
Update Agency
patch
Units
Get Units
get
Create Unit
post
Get Unit
get
Update Unit
patch
Get Officers
get
Add Employment Records
put
Complaints
Complaints
Create Complaint
post
Get Complaints
get
Latest Complaint Updates
get
Get Complaint
get
Update Complaint
patch
Allegations
Get Allegations for Complaint
get
Create Allegation for Complaint
post
Get Allegation for Complaint
get
Delete Allegation for Complaint
delete
Update Allegation for Complaint
patch
Investigations
Get Investigations for Complaint
get
Get Investigations for Complaint
post
Get Investigation for Complaint
get
Update Investigation for Complaint
patch
Delete Investigation for Complaint
delete
Penalties
Get Penalties for Complaint
get
Create Penalty for Complaint
post
Get Penalty for Complaint
get
Update Penalty for Complaint
patch
Delete Penalty for Complaint
delete
Litigation
Litigation
Get all Litigation
get
Create new Litigation
post
Latest Litigation Updates
get
Get Litigation by ID
get
Update Litigation
patch
Delete Litigation by ID
delete
Add Disposition
post
Documents
Get Documents
get
Add Document
post
Get Document by ID
get
Search
Search
Search All
post
Autocomplete Search Term
post
Sources
Sources
Get all sources
get
Create a new source
post
Get Source
get
Update an existing source
patch
Get all members
get
Users
Users
Get User
get
Get current user
get
Update the current user
patch
Powered by
Create a new source
post
http://127.0.0.1:5001/api/v1/sources
Language
Shell
Node
Ruby
PHP
Python
Credentials
Bearer
JWT
Bearer
URL
Base URL
http://127.0.0.1:5001/api/v1
/sources
RESPONSE
Click
Try It!
to start a request and see the response here!