Public

Get the public school profile

Returns what the school shows the public: name, contacts and address.

GEThttps://api.klasstack.com/v1/public/school

  • public:read
  • Billable
  • Public (publishable key)
  • Test key: example response

Authorizations

  • Authorizationstringheaderrequired

    A publishable key as a bearer token, in the form Bearer ks_live_pk_.... It is safe to ship in a browser or app. A secret key works here too. A test key gets the documented example and touches no school data.

Response

200, application/json

  • dataobjectrequired

    Show child attributes
    • namestringrequired

    • subdomainstringrequired

      The school subdomain on Klasstack.

    • logoUrlstring or nullrequired

    • primaryColorstring or nullrequired

    • secondaryColorstring or nullrequired

    • accentColorstring or nullrequired

    • addressstring or nullrequired

    • citystring or nullrequired

    • statestring or nullrequired

    • countrystring or nullrequired

    • phonestring or nullrequired

    • emailstring or nullrequired

  • metaobjectrequired

    Show child attributes
    • request_idstringrequired

      Also returned in the X-Request-ID header.

    • paginationobject

      Show child attributes
      • limitintegerrequired

        Required range: x <= 100

      • has_morebooleanrequired

      • next_cursorstring or nullrequired

        Send this back as cursor for the next page. Opaque: never parse it.

Errors

What each code means, and what to do about it, is in the errors guide.

Webhook events

This call triggers no webhook event.