Skip to main content
POST
Add pass geofence

Authorizations

Authorization
string
header
required

API key authentication. Include your API key as a Bearer token.

Example: Bearer sk_prod_xxxxxx

Get your API key from the Stell Dashboard.

Path Parameters

passId
string
required

Body

application/json

Request to add a geofence to a pass.

latitude
number
required

Latitude (-90 to 90)

Required range: -90 <= x <= 90
longitude
number
required

Longitude (-180 to 180)

Required range: -180 <= x <= 180
altitude
number

Altitude in meters (optional)

relevantText
string

Message shown when user is near this location

Maximum string length: 100

Response

201 response

Response from adding a geofence.

data
object
required

Created geofence

requestId
string
required

Unique request identifier for debugging

Pattern: ^[0-9A-Z]{26}$