Skip to content

Integrate with Waqar API v1

Waqar API v1 is a server-to-server JSON API for one school. The API key identifies the school; a client never supplies a school identifier to select a tenant.

  • Base URL: https://waqar.app/api/v1
  • Machine-readable contract: https://waqar.app/api/openapi.yaml
  • Rendered contract: https://waqar.app/api/docs
  • Request and response timestamps: RFC 3339 UTC
  • Success shape: a top-level data member, plus pagination for collections
  • Error shape: a top-level error object

Breaking changes require a new path version. Additive fields can appear in v1, so clients must follow the schema while tolerating newly documented fields.

Read access requires an eligible subscription, API feature availability, rollout eligibility, a valid school key, effective scope policy, required key scope, allowed source network when configured, and remaining quota.

Write access is a separate capability with separate rollout and scope controls. It is not enabled merely because reads work or because the school has an Enterprise plan.

  1. Define the exact resources and read or write actions needed.
  2. Ask a school administrator for a dedicated minimum-scope key.
  3. Store the one-time credential in a secret manager.
  4. Validate the current OpenAPI contract in your build.
  5. Start with GET /school to confirm the credential’s school.
  6. Implement snapshot pagination and incremental synchronization where the operation defines them.
  7. Handle stable error codes, request IDs, quota headers, and Retry-After.
  8. Add writes only after the capability is explicitly approved; use the documented idempotency rules.
  9. Rotate and revoke keys through a named ownership process.
  • Never put an API key in browser or mobile code.
  • Never log the authorization header, credential, personal-data response bodies, or idempotency keys.
  • Do not infer undocumented fields or enumerate foreign identifiers.
  • Treat a foreign or unavailable resource as not found.
  • Use fixture or approved non-production data for validation.
  • Reconcile mutations with reads and retain request IDs for support.

Continue with API keys, authentication and scopes, and the endpoint reference.