An open API service indexing awesome lists of open source software.

https://github.com/creatly/leads-api

API service that saves landing page leads to CRM
https://github.com/creatly/leads-api

Last synced: about 1 year ago
JSON representation

API service that saves landing page leads to CRM

Awesome Lists containing this project

README

          

# Creatly Leads API
## Service that collects info from landing page's lead form & saves it to CRM (Trello Board)

### Prerequisites

- go 1.16

### Build & Run

1. Set env variables
```
export TRELLO_LIST_NAME="Leads"
export TRELLO_BOARD_ID=TqW02k3K
export TRELLO_API_TOKEN=
export TRELLO_API_KEY=
```
2. Run app
```
make run
```

### API
POST /leads
```json
{
"firstname": "Vasya",
"lastname": "Pupkin",
"email": "vasyapupkin@gmail.com",
"phone": "+380996969228",
"source": "pdf",
"niche": "IT",
"utm_source": "instagram",
"utm_medium": "target"
}
```