API Reference

Everything the API can do.

Full REST coverage for authentication, users, roles, and access policies.

Base URL & Authentication

https://api.gatehive.com/v1

Every request needs a bearer token:

Authorization: Bearer YOUR_API_KEY

Generate keys from Settings → API Keys.

Endpoints

Authentication

POST

/auth/token

Users

GET

/users

Post

/users

Roles & Permissions

GET

/roles

Post

/roles/{id}/assign

Access Policies

GET

/policies

Post

/policies

Access Policies

GET

/audit-logs

Webhooks

POST

/webhooks

Rate Limits & Errors

100 requests per minute per API key. Errors return a status code, type, and readable message.

{
  "error": "invalid_request",
  "status": 400
}

SDKs

Node.js

Python

Go

Ruby

Stuck on something?

Our team answers API questions directly, no ticket queue.

Buy Template for $89

Buy Template for $89

Full logo of Gatehive

Identity and access management for teams who can’t afford to guess.

© 2026 Gatehive. All rights reserved.

Logo of Gatehive

Create a free website with Framer, the website builder loved by startups, designers and agencies.