Multi-Organization API Access With Auth API

Percipient Portal, a project management SaaS platform, eliminated complex API key management overhead with Auth API, enabling seamless integrations across multiple organizations while maintaining enterprise-grade security.

Percipient Brand Logo

Key Benefits

Instant Organizational Context

Auth API’s custom metadata provides immediate access to organization and user context for every API request.

Rapid Integration Deployment

Zapier and custom integrations went from concept to production in days instead of weeks.

 

Zero Maintenance Overhead

No more time spent building or maintaining custom authentication infrastructure.

Why Auth API Made Sense

Instead of building organizational API key management from scratch, Percipient Portal integrated Auth API. The key insight was Auth API’s custom metadata feature—they could embed all the organizational context directly into each API key.

Here’s how it works in their Laravel application:

				
					//Creating keys with organizational context:

$apiKey = Http::post('https://api.theauthapi.com/api-keys', [
    'name' => 'Zapier Integration - ' . $organization->name,
    'customMetadata' => [
        'customAccountId' => $organization->id,
        'customUserId' => $user->id,
        'integrationType' => 'zapier'
    ]
]);
				
			
				
					//Verifying requests and extracting context:

$response = Http::get("https://api.theauthapi.com/api-keys/auth/{$apiKey}");
$keyData = $response->json();

// Instantly know which org and user this request is for
$orgId = $keyData['customMetadata']['customAccountId'];
$userId = $keyData['customMetadata']['customUserId'];
$integrationType = $keyData['customMetadata']['integrationType'];
				
			

This approach solved their core problem: every API request now carries its organizational context. No separate lookup tables, no complex joins, no guessing about which customer is affected when something goes wrong.

Ready to eliminate API key management overhead?

Auth API helped Percipient Portal focus on their core product while delivering the integrations customers needed. Experience the same streamlined approach for your multi-organization SaaS platform.

Share this: