GET
/
sessions
/
{token}
curl --request GET \
  --url https://api-sandbox.letshum.com/sessions/{token} \
  --header 'Authorization: Bearer <token>'
{
  "message": "What happened in the most recent request.",
  "request_status": "ok",
  "data": {
    "service_address": {
      "normalized": "29090 TIFFANY DR E, SOUTHFIELD, MI, 48034",
      "latitude": 42.501721339274,
      "longitude": -83.286263465881,
      "street_range": "29000-29098",
      "street": "29090 Tiffany Drive E",
      "city": "Southfield",
      "state": "MI",
      "zip": 48034
    }
  },
  "meta": {
    "session_token": "Xxjljd2CQgobOvPR3X6Lat",
    "session_status": "open",
    "agent_status": {
      "geocoding": "matched",
      "internet": "matched",
      "checkout": "pending"
    },
    "session_params": {
      "street1": "29090 Tiffany Drive E",
      "street2": "A2",
      "city": "Southfield",
      "state": "MI",
      "zip": 48034,
      "campaign_id": "1iYyMxsnTy87tFOvukTi7V",
      "sync": [
        "geocode",
        "internet"
      ]
    },
    "service_address": {
      "normalized": "29090 TIFFANY DR E, SOUTHFIELD, MI, 48034",
      "latitude": 42.501721339274,
      "longitude": -83.286263465881,
      "street_range": "29000-29098",
      "street": "29090 Tiffany Drive E",
      "city": "Southfield",
      "state": "MI",
      "zip": 48034
    },
    "created_at": "2024-09-20T23:13:31.179Z",
    "updated_at": "2024-09-20T23:13:31.179Z",
    "responded_at": "2024-09-20T23:13:31.179Z",
    "hum_data_set": "v.1005"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

token
string
required

The session token identifying the specific session

Example:

"Xxjljd2CQgobOvPR3X6Lat"

Response

200
application/json
Session data retrieved successfully
message
string
required

A message returned by the API. Includes a human-readable message about the status of the request.

Example:

"What happened in the most recent request."

request_status
enum<string>
required

A status code summarizing the outcome of this response.

  • ok: Request was successful
  • warning: Request was processed but with some issues
  • error: Request failed
Available options:
ok,
warning,
error
Example:

"ok"

data
object
required
meta
object
required

Metadata about the session. Can be used to track the status of the session, time since creation, and time since last update.