Getting Started

Authentication

How to create an API key and use it for API access

All CRM API requests require authentication via API key. The key identifies your agency and determines which data you can access.

Create an API Key

  1. Log in to rentix.md (or staging.rentix.md for testing)
  2. Open User Menu[Agency Name]API Keys
  3. Click Create Key
  4. Copy the key — it's shown only once
Keep your key secure. Anyone with the key can manage your agency's listings. Don't commit keys to git and don't share with third parties.

Use the Key in Requests

Pass the key in the Authorization header of every request.

const response = await fetch('https://crm.rentix.md/api/v1/agency', {
  headers: {
    'Authorization': 'ApiKey YOUR_API_KEY'
  }
});

const agency = await response.json();
console.log(agency.name); // "Your Agency"

Alternative Header

Instead of Authorization, you can use X-API-Key:

curl https://crm.rentix.md/api/v1/agency \
  -H "X-API-Key: YOUR_API_KEY"

Verify Connection

A request to /agency is a simple way to confirm your key works.

Successful Response
{
  "id": 1,
  "name": "Your Agency",
  "status": "active",
  "isCrmEnabled": true,
  "limits": {
    "monthlyListings": { "used": 5, "limit": 1000 }
  }
}

Authentication Errors

CodeErrorSolution
400Multiple authentication methods providedUse either Authorization or X-API-Key, not both
401API key is requiredAdd Authorization: ApiKey YOUR_KEY header
401Invalid API keyCheck that the API key is correct and has not been revoked
403Agency is suspendedContact support — your agency account is suspended
403CRM is not enabled for this agencyContact support to enable CRM access

Next Step

Key is ready — create your first listing.

Quick Start →

Copyright © 2026