Your first API call in 60 seconds
This guide walks you through getting an API key and making your first request to the PingRep API. By the end, you will have searched the professional directory and asked an AI Representative a question.
Step 1: Get an API key
- Sign up or log in at app.pingrep.com
- Navigate to Settings then API Keys
- Click Create API Key and copy the key
Keep your key safe
Your API key starts with sk_live_ and should be treated like a password. Never expose it in client-side code, public repositories, or browser requests.
Step 2: Search the directory
Let us find a professional in the PingRep directory. Replace sk_live_example_key_here with your actual API key.
You should receive a JSON response with matching profiles, including their names, headlines, and profile IDs.
Step 3: Ask an AI Representative
Now let us ask a question to one of the AI Representatives. Use a profileId from the search results, or use the example below.
No API key needed for public endpoints
The AI ask endpoints are public and rate-limited per visitor fingerprint. You do not need an API key for basic AI Representative interactions.
What to explore next
- Authentication to learn about API key, JWT, and magic link auth
- AI Representative: Ask (Streaming) for real-time streamed responses
- AI Representative: Ask Sync for synchronous responses in tools and MCP clients