Skip to main content
Get location
curl --request GET \
  --url https://api.maple.inc/v1/locations/{locationId} \
  --header 'Authorization: Bearer <token>'
{
  "object": "location",
  "id": "<string>",
  "name": "<string>",
  "timezone": "<string>",
  "phone": "<string>",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "region": "<string>",
    "postal_code": "<string>",
    "country": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key — mpk_test_… for the sandbox, mpk_live_… for production. Issued by Maple during partner onboarding.

Path Parameters

locationId
string
required

Response

Success

object
enum<string>
required
Available options:
location
id
string
required
name
string | null
required
status
enum<string>
required
Available options:
active,
inactive,
paused
timezone
string | null
required
phone
string | null
required
address
object
required