AlphaAlpha Docs

Public Lead

Public lead submission endpoints for contact forms

Submit a download/brochure request form

POST
/public/leads/{tenantSlug}/download
AuthorizationBearer <token>

In: header

Path Parameters

tenantSlug*string

Query Parameters

downloadType?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/public/leads/string/download" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "firstName": "string",    "lastName": "string"  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}

Submit a contact form

POST
/public/leads/{tenantSlug}/submit
AuthorizationBearer <token>

In: header

Path Parameters

tenantSlug*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/public/leads/string/submit" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "firstName": "string",    "lastName": "string"  }'
Empty
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}