Skip to content

Lesson plan

Integrating with the Work API

Connect other systems to Moraph Apps with the Work API: keys and scopes, reading and writing records and tasks, pagination, concurrency, idempotency, errors and limits.

Back to the course
Product
Moraph Apps and the Work API
Level
Advanced
For
Implementation partners
Total time
1 hr 42 min
Lessons
6 in 3 modules
Assessments
1

Course objectives

  1. Create a Work API key with the least scopes and a sensible expiry, and store it safely
  2. Authenticate requests and read a product's record types, stages and allowed moves
  3. List records and tasks with filters and cursor pagination, and sync changes with updated_since
  4. Create and update records and tasks without duplicates or lost updates, using Idempotency-Key and version
  5. Handle every error code, the rate limit and read-only products correctly
  6. Rotate and revoke keys without downtime, and use request IDs when working with Moraph Support

Before the course

  • The Product administrator role in a Moraph Apps product (to create keys), or a colleague who has it
  • Comfortable with HTTP, JSON and a command line or HTTP client

Module 1: Getting connected (20 min)

LessonType and timeLearners will be able toActivity and assessment
Keys, scopes and authenticationReading
10 min
See the lessonReading
Reading records and tasksReading
10 min
See the lessonReading

Module 2: Changing data (22 min)

LessonType and timeLearners will be able toActivity and assessment
Writing safely: idempotency and versionsReading
12 min
See the lessonReading
Errors, limits and running in productionReading
10 min
See the lessonReading

Module 3: Practice and check (1 hr)

LessonType and timeLearners will be able toActivity and assessment
Practical: build a small, safe syncPractical exercise
45 min
See the lessonPractical exercise with a checklist
Check your understandingAssessment
15 min
See the lesson10 questions · pass mark 80% · 3 attempts

Completing the course

Every lesson must be completed: reading lessons are marked complete by the learner, exercises when every checklist item is confirmed, and assessments only when passed. Completing the course issues a certificate of completion with a verification code.