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
- Host: GitHub
- URL: https://github.com/creatly/leads-api
- Owner: Creatly
- Created: 2021-06-12T07:13:21.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T05:52:53.000Z (almost 5 years ago)
- Last Synced: 2025-04-13T07:13:25.424Z (about 1 year ago)
- Language: Go
- Size: 21.5 KB
- Stars: 12
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}
```