v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Leads

Get lead

Get a lead

get/lead/{id}

Path parameters

idstring required

The unique global ID of the lead

Response

Get a lead

idinteger

Lead ID

trip_uuidstring

Trip UUID

emailstring

Lead email

namestring

Lead name

phonestring

Lead phone

organizer_idinteger

Organizer ID

is_bookedboolean

Whether lead is booked or not

recent_requested_atstring date-time

Recent request date

lead_typestring

Type of the lead

Example response

{
  "id": 1,
  "trip_uuid": "1234567890",
  "email": "johndoe@mailinator.com",
  "name": "John Doe",
  "phone": "+1 123 456 7890",
  "organizer_id": 1,
  "questions": [
    {
      "content": "What is your name?",
      "created_at": "2017-01-01 00:00:00"
    }
  ],
  "recent_requested_at": "2017-01-01 00:00:00",
  "lead_type": "brochure",
  "trip": {
    "title": "Epic Trip"
  }
}