Skip to main content
Snipe-IT provides a comprehensive REST API that allows you to programmatically interact with your IT asset management system. The API supports all major CRUD operations for assets, users, accessories, components, consumables, and more.

Getting Started

Base URL

All API requests are made to:
Replace your-snipe-it-instance.com with your actual Snipe-IT domain.

Authentication

The Snipe-IT API uses Bearer token authentication. You need to include your API token in the Authorization header of every request.

Generating an API Token

  1. Log into your Snipe-IT instance
  2. Navigate to your user profile (top right corner)
  3. Go to API Keys tab
  4. Click Create New Token
  5. Give your token a descriptive name
  6. Copy the generated token immediately (it won’t be shown again)
API tokens have the same permissions as the user who created them. Store tokens securely and never commit them to version control.

Making API Requests

Include your API token in the Authorization header:

API Rate Limiting

By default, the Snipe-IT API is rate-limited to prevent abuse. The default limit is configured in your .env file:
.env
If you exceed the rate limit, you’ll receive a 429 Too Many Requests response.

Common API Endpoints

Assets (Hardware)

Users

Accessories

Components

Other Resources

The API also supports:
  • Categories (/api/v1/categories)
  • Companies (/api/v1/companies)
  • Departments (/api/v1/departments)
  • Consumables (/api/v1/consumables)
  • Licenses (/api/v1/licenses)
  • Locations (/api/v1/locations)
  • Manufacturers (/api/v1/manufacturers)
  • Models (/api/v1/models)
  • Status Labels (/api/v1/statuslabels)
  • Suppliers (/api/v1/suppliers)

Response Format

All API responses are returned in JSON format.

Success Response

Error Response

Common HTTP status codes:
  • 200 - Success
  • 201 - Created
  • 400 - Bad Request
  • 401 - Unauthorized (invalid token)
  • 403 - Forbidden (insufficient permissions)
  • 404 - Not Found
  • 422 - Validation Error
  • 429 - Too Many Requests (rate limited)
  • 500 - Server Error

Pagination

List endpoints support pagination using the following parameters:
  • limit - Number of results per page (default: 50, max: determined by MAX_RESULTS setting)
  • offset - Number of results to skip

Filtering and Searching

Many endpoints support filtering and searching:
  • search - Search across multiple fields
  • sort - Column to sort by
  • order - Sort order (asc or desc)

Personal Access Tokens

Users can manage their own API tokens programmatically:

Best Practices

Create dedicated API users with only the permissions needed for your integration. Don’t use admin tokens unless absolutely necessary.
Implement exponential backoff when you receive 429 responses. Respect the rate limits to ensure system stability.
Always check HTTP status codes and validate response data before processing. Handle errors appropriately.
When possible, use search and filter parameters to retrieve only the data you need instead of fetching all records.
Store API tokens in environment variables or secure credential stores. Never hardcode them in your application code.

Next Steps

Full API Reference

Complete API documentation with all endpoints and parameters

LDAP Integration

Sync users from Active Directory or LDAP

SAML SSO

Configure single sign-on with SAML providers

Webhooks

Set up notifications for Slack, Teams, and more