Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer token authentication using API tokens. Include the token in the Authorization header as: Authorization: Bearer <token>

Obtain tokens from your Hum representative or contact support@letshum.com. There is no self-serve API key dashboard.

Body

application/json

Service address for the session. Provide one of: street1 and zip; street1, city, and state; or street1, city, and zip. State is optional when zip is present. street2, latitude, longitude, and campaign_id are optional.

Service address. Provide one of: street1 and zip; street1, city, and state; or street1, city, and zip. State is optional when zip is present.

street1
string
required

The street address of the service location.

Required string length: 1 - 100
Example:

"29090 Tiffany Drive E"

street2
string

The unit, apartment, or suite number of the service location.

Required string length: 1 - 50
Example:

"A2"

city
string

The city of the service location. Required when using the (street1, city, state) combination; optional when providing street1 and zip.

Required string length: 1 - 50
Example:

"Southfield"

state
enum<string>

The two-letter state abbreviation. Required when using the (street1, city, state) combination; optional when providing street1 and zip.

Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
PR,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY
Pattern: ^[A-Z]{2}$
Example:

"MI"

zip
string

The ZIP code in 12345 or 12345-6789 format. Required when using the (street1, zip) combination; optional when providing street1, city, and state.

Pattern: ^\d{5}(-\d{4})?$
Example:

48034

latitude
number<float>

The latitude of the service address.

Example:

42.501721339274

longitude
number<float>

The longitude of the service address.

Example:

-83.286263465881

campaign_id
string

A unique identifier for the campaign. This is used to track the source of the session in your internal system.

Required string length: 1 - 100
Example:

"1iYyMxsnTy87tFOvukTi7V"

Response

Successful session creation.

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

An informational summary returned in API response bodies: ok for successful responses, warning for standard request errors, and error for endpoint-specific failures. Integrations must use the HTTP status code, not request_status, to determine whether a request succeeded.

Available options:
ok,
warning,
error
Example:

"ok"

data
object[]
required
meta
object
required

Session metadata, including normalized input values, formatted service address, session status, and the Hum data set used for the response.