Overview
Every API request must include the following header:X-API-Key- Authenticates your request and identifies your firm
The API key header is required for every request to the Partner API.
Steps to obtain and use an API key
Contact Perch for API access
Reach out to the Perch team at partnersupport@myperch.io to request API access for your organization. During this process, you’ll need to provide:
- Your business information and use case
- The type of integration you’re planning (lead submission, tracking, etc.)
- Whether you need sandbox or production access (or both)
We recommend starting with sandbox access to test your integration before moving to production.
Receive your API key
Our team will provision a long-lived API key tied to your firm record. This key acts as a permanent access token and must be included in the
X-API-Key header with every request.You’ll also receive:- Your specific API domain (sandbox or production)
- Documentation specific to your use case
- Any additional configuration details
Configure your environment
Based on your access level, you’ll use one of the following domains:Sandbox Environment:
- Partner API:
api.partner.dit.myperch.io - Realtor API:
api.realtor.dit.myperch.io
- Partner API:
api.partner.myperch.io - Realtor API:
api.realtor.myperch.io
Sample request
Security and key management
- API keys are tied to your firm account and all requests are logged internally for security and auditing purposes
- Store them securely — use environment variables or secure configuration management, never commit them to version control
- Rotate if compromised — contact partnersupport@myperch.io immediately if you suspect your key has been compromised
- Backend only — never expose API keys in frontend applications, mobile apps, or any client-side code
- HTTPS required — all API requests must be made over HTTPS to ensure your API key is transmitted securely
Troubleshooting authentication
Common authentication issues and solutions:| Error Code | Description | Solution |
|---|---|---|
401 Unauthorized | No valid API key provided | Ensure the X-API-Key header is included and spelled correctly |
403 Forbidden | API key doesn’t have required permissions | Contact support to verify your key’s permissions for the requested resource |
429 Too Many Requests | Rate limit exceeded | Implement exponential backoff and respect rate limits |
Next steps
- Review the API Overview for general API concepts and best practices
- Set up Postman for API testing with your new credentials
- Explore the Partner API documentation to understand available endpoints
- Start with our lead submission guide for common use cases