Update Session Data
Updates the service address components for an existing session. Use this endpoint when you need to correct address information or modify the search parameters.
Update Behavior
- Existing session data is preserved where possible
- AI agents re-run with new address data
- Previous results are invalidated
- New session token is issued
Common Use Cases
- Correcting typos in address
- Adding missing unit numbers
- Switching to a nearby address
- Updating ZIP code
Important Notes
- Updates reset agent processing
- Previous results may be temporarily available
- Rate limits apply to updates
- Session expiry time is reset
Example Usage
PUT /sessions/{token}
{
"street1": "29090 Tiffany Drive E",
"street2": "Suite 100",
"city": "Southfield",
"state": "MI",
"zip": "48034"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The session token identifying the specific session
"Xxjljd2CQgobOvPR3X6Lat"
Body
The street address of the service location.
"29090 Tiffany Drive E"
The ZIP code of the service location in 12345 or 12345-6789 format.
48034
The unit, apartment, or suite number of the service location.
"A2"
The city of the service location.
"Southfield"
The two-letter state abbreviation of the service location.
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
"MI"
A unique identifier for the campaign. This is used to track the source of the session in your internal system.
"1iYyMxsnTy87tFOvukTi7V"
An array of agent names to run synchronously. If provided, these agents will execute during the request instead of asynchronously. Available agents are "geocode" and "internet".
geocode
, internet
["geocode", "internet"]
Response
A message returned by the API. Includes a human-readable message about the status of the request.
"What happened in the most recent request."
A status code summarizing the outcome of this response.
- ok: Request was successful
- warning: Request was processed but with some issues
- error: Request failed
ok
, warning
, error
"ok"
Metadata about the session. Can be used to track the status of the session, time since creation, and time since last update.
Was this page helpful?