Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

Core API Documentation

Person Lookups

Schedule, relationships, parsed address, and batch lookups for people.

Front

GET /api/v2/front/people/:person_id/schedule

Upcoming visits and waitlist entries for the person and their dependents, sorted by start time. Use me as the person_id to resolve the person bound to the bearer token. Access is limited to that person and their dependents. Waitlist entries list only staff members who are shown to clients.

Parameters

ontimestampOnly include items starting on or after this time. Defaults to now.
limitintegerMaximum number of items to return, from 1 to 100. Defaults to 100; larger values are capped at 100.

Errors

404 when the person does not exist or the token cannot access them.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/people/me/schedule \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "schedule": [
    {
      "id": 218,
      "person_id": 101279,
      "event_occurrence_id": 450,
      "state": "registered",
      "status": "enrolled",
      "registered_at": "2026-10-18T00:07:06Z",
      "completed_at": null,
      "noshow_at": null,
      "cancelled_at": null,
      "created_at": "2026-10-18T00:07:06Z",
      "updated_at": "2026-10-18T00:07:06Z",
      "paid": false,
      "paid_for_by": null,
      "punch_id": null,
      "only_staff_can_cancel": false,
      "client_can_cancel": true,
      "event_occurrence": {
        "id": 450,
        "name": "Morning Yoga",
        "state": "active",
        "start_at": "2026-10-20T00:07:05Z",
        "end_at": "2026-10-20T00:37:05Z",
        "service_id": 820,
        "event_id": 401,
        "location_id": 1193,
        "staff_members": [
          {
            "id": 101276,
            "name": "Leann Dibbert",
            "has_profile": true
          }
        ]
      }
    },
    {
      "id": 76,
      "state": "waiting",
      "event_occurrence_id": 451,
      "event_occurrence": {
        "id": 451,
        "name": "Morning Yoga",
        "state": "active",
        "start_at": "2026-10-21T00:07:06Z",
        "end_at": "2026-10-21T00:37:06Z",
        "service_id": 820,
        "event_id": 402,
        "location_id": 1194,
        "staff_members": [
          {
            "id": 101277,
            "name": "Jacey Gerlach",
            "has_profile": true
          }
        ]
      },
      "person_id": 101278,
      "person": {
        "id": 101278,
        "name": "Blanca Hermann",
        "email": "1_blanca_hermann@pike13.com"
      }
    }
  ]
}

GET /api/v2/front/people/:person_id/relationships

Dependents of the person. me is accepted as the person_id. The response key matches the type returned: dependents, or minor_dependents when requested. Any other type value returns dependents. Each element has the same shape as a Front person. See also with_dependents on GET /api/v2/front/people/:id.

Parameters

typestringdependents (default) or minor_dependents to limit results to minors.

Errors

404 when the person does not exist or the token cannot access them.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/people/me/relationships \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "dependents": [
    {
      "id": 101278,
      "name": "Blanca Hermann",
      "pronoun": null,
      "first_name": "Blanca",
      "middle_name": null,
      "last_name": "Hermann",
      "phone": "(207)460-1204 x9950",
      "email": "1_blanca_hermann@pike13.com",
      "address": null,
      "street_address": null,
      "street_address2": null,
      "city": null,
      "state_code": null,
      "postal_code": null,
      "location_id": null,
      "secondary_info_field": "No Membership",
      "is_schedulable": true,
      "birthdate": "2016-10-17",
      "custom_fields": [],
      "balances": []
    }
  ]
}

GET /api/v2/front/people/:person_id/parsed_address

The person's address split into components. When the person's address is already stored as separate fields, those values are returned. For a legacy combined address, the components are geocoded from it and saved to the person for later requests, so values can be null when there is no address or it cannot be resolved precisely. me is accepted as the person_id.

Attributes

parsed_address_line1stringStreet number and street name.
parsed_address_line2stringUnit or suite.
parsed_citystringCity.
parsed_statestringState or region abbreviation.
parsed_postal_codestringPostal code.
parsed_countrystringCountry code.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/people/me/parsed_address \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "addresses": [
    {
      "parsed_address_line1": "400 Broad St",
      "parsed_address_line2": null,
      "parsed_city": "Seattle",
      "parsed_state": "WA",
      "parsed_postal_code": "98109",
      "parsed_country": "US"
    }
  ]
}

Desk

GET /api/v2/desk/people/find_by_ids?ids=:ids

Batch-fetches clients by id. Requires the index_clients permission. Returns a people array in the same shape as GET /api/v2/desk/people/:id. Ids that are not clients of the business are omitted.

Parameters

idsstringRequired. Comma-separated person ids, from 1 to 100.
include_notification_settingsbooleanInclude notification settings for each person.

Errors

400 when ids is missing, blank, or has more than 100 ids. 403 without the index_clients permission.

Show curl example

REQUEST
$ curl "https://mybiz.pike13.com/api/v2/desk/people/find_by_ids?ids=48,49" \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "people": [
    {
      "id": 48,
      "pronoun": null,
      "first_name": "Jane",
      "middle_name": null,
      "last_name": "Client",
      "is_schedulable": true,
      "name": "Jane Client",
      "membership": "No Membership",
      "is_member": false,
      "joined_at": "2014-12-10T19:34:16Z",
      "phone": "206-555-1212",
      "email": "janeclient@example.com",
      "address": "123 Pike Street\nSuite 456\nSeattle, WA 98101, United States of America",
      "street_address": "123 Pike Street",
      "street_address2": "Suite 456",
      "city": "Seattle",
      "state_code": "WA",
      "postal_code": "98101",
      "secondary_info_field": "No Membership",
      "timezone": "America/Los_Angeles",
      "business_id": 1,
      "updated_at": "2014-12-10T19:34:16Z",
      "deleted_at": null,
      "hidden_at": null,
      "birthdate": null,
      "location_id": 1,
      "profile_photo": {
        "x50": "https://d1nqv8xdwxria6.cloudfront.net/uploads/profile_photo/image/f1150c38-5e62-4c4b-a701-473e3f586e1e/image_profile_x50.jpg",
        "x100": "https://d1nqv8xdwxria6.cloudfront.net/uploads/profile_photo/image/f1150c38-5e62-4c4b-a701-473e3f586e1e/image_profile_x100.jpg",
        "x200": "https://d1nqv8xdwxria6.cloudfront.net/uploads/profile_photo/image/f1150c38-5e62-4c4b-a701-473e3f586e1e/image_profile_x200.jpg",
        "x400": "https://d1nqv8xdwxria6.cloudfront.net/uploads/profile_photo/image/f1150c38-5e62-4c4b-a701-473e3f586e1e/image_profile_x400.jpg"
      },
      "custom_fields": [
        {
          "id": 9,
          "value": "blue",
          "name": "Shirt color"
        },
        {
          "id": 10,
          "value": "L",
          "name": "Shirt size"
        }
      ],
      "dependents": [],
      "providers": [
        {
          "id": 47,
          "pronoun": null,
          "first_name": "Momma",
          "middle_name": null,
          "last_name": "Client",
          "is_schedulable": true,
          "guardian_name": null,
          "name": "Momma Client",
          "membership": "No Membership",
          "is_member": false,
          "joined_at": "2014-12-10T19:34:16Z",
          "phone": null,
          "email": "mommaclient@example.com",
          "address": null,
          "secondary_info_field": "No Membership",
          "guardian_email": null,
          "timezone": "America/Los_Angeles",
          "business_id": 2,
          "updated_at": "2014-12-10T19:34:16Z",
          "deleted_at": null,
          "hidden_at": null,
          "birthdate": null,
          "location_id": 1000,
          "custom_fields": []
        }
      ],
      "location": {
        "id": 1,
        "name": "West Location",
        "slug": "west-location"
      },
      "balances": [
        {
          "id": 2,
          "balance_cents": 6000,
          "currency_code": "USD",
          "type": "credit"
        }
      ]
    }
  ]
}

GET /api/v2/desk/people/:person_id/parsed_address

The person's address split into components, with the same behavior and attributes as the Front endpoint. Requires the index_client_contact_methods permission. me is accepted as the person_id.

Errors

403 without the index_client_contact_methods permission. 404 when the person does not exist.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/desk/people/48/parsed_address \
  -H "Authorization: Bearer XXXXXXXXXXXXXXX"

RESPONSE
{
  "addresses": [
    {
      "parsed_address_line1": "400 Broad St",
      "parsed_address_line2": null,
      "parsed_city": "Seattle",
      "parsed_state": "WA",
      "parsed_postal_code": "98109",
      "parsed_country": "US"
    }
  ]
}