- go 1.16
- Set env variables
export TRELLO_LIST_NAME="Leads"
export TRELLO_BOARD_ID=TqW02k3K
export TRELLO_API_TOKEN=<your token>
export TRELLO_API_KEY=<your key>
- Run app
make run
POST /leads
{
"firstname": "Vasya",
"lastname": "Pupkin",
"email": "vasyapupkin@gmail.com",
"phone": "+380996969228",
"source": "pdf",
"niche": "IT",
"utm_source": "instagram",
"utm_medium": "target"
}