organization_job_postings
Retrieve job postings for a specific organization using its Apollo.io ID to identify hiring needs and opportunities.
Instructions
Use the Organization Job Postings endpoint to find job postings for a specific organization
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | Yes | Apollo.io organization ID |
Implementation Reference
- src/index.ts:272-279 (handler)MCP CallToolRequestSchema handler case that executes the organization_job_postings tool by calling the Apollo client's organizationJobPostings method and formatting the response.case 'organization_job_postings': { const result = await this.apollo.organizationJobPostings(args.organization_id as string); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
- src/apollo-client.ts:183-197 (helper)Core implementation of the organization job postings functionality, making the GET request to Apollo.io API endpoint /organizations/{organizationId}/job_postings.async organizationJobPostings(organizationId: string): Promise<any> { try { const url = `${this.baseUrl}/organizations/${organizationId}/job_postings`; const response = await this.axiosInstance.get(url); if (response.status === 200) { return response.data; } else { console.error(`Error: ${response.status} - ${response.statusText}`); return null; } } catch (error: any) { console.error(`Error: ${error.response?.status} - ${error.response?.statusText || error.message}`); return null; }
- src/index.ts:175-184 (schema)Input schema defining the required 'organization_id' parameter for the tool.inputSchema: { type: 'object', properties: { organization_id: { type: 'string', description: 'Apollo.io organization ID' } }, required: ['organization_id'] }
- src/index.ts:172-185 (registration)Tool registration object added to the tools list returned by ListToolsRequestSchema handler.{ name: 'organization_job_postings', description: 'Use the Organization Job Postings endpoint to find job postings for a specific organization', inputSchema: { type: 'object', properties: { organization_id: { type: 'string', description: 'Apollo.io organization ID' } }, required: ['organization_id'] } },