API Documentation

Complete guide to integrating with the Vaachas API

v1.0.0
Getting Started

Welcome to the Vaachas API! This documentation will help you integrate credential and API key management into your applications.

Base URL

https://api.vaachas.com/v1

Secure

End-to-end encryption

Fast

Low latency responses

Reliable

99.9% uptime SLA

Authentication

Use your API key in the Authorization header for all requests.

Example Request

curl -X GET "https://api.vaachas.com/v1/credentials" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Credentials API
GET/credentials

Retrieve all credentials for your organization.

Response Example
{
  "data": [
    {
      "id": "cred_123",
      "name": "AWS Production",
      "type": "aws_access_key",
      "environment": "production",
      "status": "active",
      "created_at": "2024-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 1
  }
}
POST/credentials

Create a new credential.

Request Body
{
  "name": "AWS Production",
  "type": "aws_access_key",
  "environment": "production",
  "credentials": {
    "access_key_id": "AKIA...",
    "secret_access_key": "..."
  },
  "tags": ["aws", "production"]
}
SDKs & Libraries

JavaScript/TypeScript

Official SDK for Node.js and browser environments

npm install @vaachas/sdk

Python

Python SDK with async support

pip install vaachas-python

Go

Lightweight Go client library

go get github.com/vaachas/go-sdk

REST API

Direct HTTP API integration