Quick Start Example

Get started with Credora Node API in minutes

api_example.js
                        // Initialize Credora Node SDK
                            import { CredoraNode } from '@credora/node-sdk';

                            const client = new CredoraNode({
                            apiKey: 'YOUR_API_KEY',
                            environment: 'production'
                            });

                            // Create a new lead
                            const lead = await client.leads.create({
                            email: 'prospect@example.com',
                            firstName: 'John',
                            lastName: 'Doe',
                            company: 'Acme Corp',
                            source: 'website'
                            });

                            console.log('Lead created:', lead.id);