nurturally.io API Reference
Explore our API endpoints and integrate nurturally.io into your applications.
Authentication
Sign In
POSTAuthenticate a user with their credentials. This endpoint returns a JWT token that can be used for subsequent authenticated requests.
Endpoint
Request Body
Sign Up
POSTCreate a new user account. After successful registration, you'll receive a confirmation email with further instructions.
Endpoint
Request Body
OAuth2 Integration
Authorization
GETStart the OAuth2 flow by redirecting users to our authorization endpoint. Users will be prompted to log in and approve your application's access request.
Endpoint
Query Parameters
Token Exchange
POSTExchange the authorization code for an API key. This endpoint should be called from your backend to keep your client secret secure.
Endpoint
Request Body
Using API Keys
Once you have an API key, include it in all API requests using the Authorization header. API keys are scope-restricted and can be revoked at any time.
Example Request
Available Scopes
Error Handling
OAuth and API endpoints return standard error responses when something goes wrong. Always check the error response for details about what went wrong.
Common Errors
Leads
List All Leads
GETRetrieve a paginated list of leads. You can filter and sort the results using query parameters.
Endpoint
Query Parameters
Create Lead
POSTCreate a new lead in the system. All fields are required except for notes.
Endpoint
Request Body
API Keys
API keys are used to authenticate requests to the external API. Each key is associated with a user account and has specific permissions.
Create API Key
POSTGenerate a new API key with specific permissions and expiration date.
Endpoint
Request Body
External API
The external API allows third-party applications to interact with the nurturally.io platform. All requests must include a valid API key in the Authorization header.
Authentication
Include your API key in the Authorization header of all requests:
Discovered Partners
List Discovered Partners
GETRetrieve a list of discovered partners with their confidence scores and probabilities. Partners are automatically classified as either leads or partners based on their interaction patterns.
Endpoint
Response
Score Interpretation
- confidence: Overall match confidence (0-1)
- partnerProbability: Likelihood of being a partner (0-1)
- leadProbability: Likelihood of being a lead (0-1)
The higher probability between partnerProbability and leadProbability determines the recommended classification. These scores are calculated based on interaction patterns, message content, and engagement signals.
Import Partners
POSTImport discovered partners into your main partners list. You can override the automatic classification by specifying the partnerType.
Endpoint
Request Body
Notes
- If partnerType is not specified, the system will use the higher probability score to determine the type
- Imported partners are removed from the discovered partners list
- Duplicate partners are prevented through email uniqueness constraints