NAV Navbar
http shell

Introduction

Welcome to the Amplemarket Public API! You can use our API to help improve your company's sales experience by leveraging Amplemarket's superpowered platform.

Amplemarket Public API

Inbound Smart Action Webhooks

POST /api/v1/inbound_smart_action_webhooks/5761d8c6-7bb8-4904-9b0d-438b946c33d8/add_lead HTTP/1.1
User-Agent: MyClient/1.0.0
Accept: application/json, */*
Content-Type: application/json
Host: app.amplemarket.com

{
  "email": "john.doe@acme.org"
}


HTTP/1.1 200 OK
curl "https://app.amplemarket.com/api/v1/inbound_smart_action_webhooks/5761d8c6-7bb8-4904-9b0d-438b946c33d8/add_lead" \
  -X POST \
  -d "email=john.doe@acme.org"

This endpoint triggers a smart action on the provided inbound lead.

HTTP Request

POST https://app.amplemarket.com/api/v1/inbound_smart_action_webhooks/<ID>/add_lead

URL Parameters

Parameter Description
ID The ID of the inbound smart action webhook

Body Parameters

Parameter Description
email The email of the inbound lead
first_name The first name of the inbound lead (optional)
last_name The last name of the inbound lead (optional)
company_name The company name of the inbound lead (optional)
company_domain The company domain of the inbound lead (optional)

You may pass additional arbitrary parameters which you can then use on smart actions for these inbound leads.

Errors

The Amplemarket Public API uses the following error codes:

Error Code Meaning
404 Not Found -- The resource could not be found.
422 Unprocessable Entity -- The resource could be found but the request could not be processed.
503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.