Skip to main content
edaxu
SolutionsFeaturesResourcesPricingBlogStart free trial →
DEVELOPERS

Zapier integration API

The endpoints behind the edaxu app on Zapier. Use them to understand what each Zap action and trigger does, or to call the same operations from your own system.

Last updated November 1, 2026

Base URL

  • Production: https://api.edaxu.com
  • Testing portals: https://api.edaxutest.com

All requests and responses use JSON over HTTPS. Timestamps in request bodies and enrollment responses are Unix seconds.

Authentication

Each Zap connects with a portal API key. An administrator creates the key in edaxu under Integrations › Zapier › New connection, chooses the permissions that Zap needs, and copies the key. The key is shown only once and can be revoked from the same page.

Send two headers with every request:

X-API-KEY: <your API key>
X-PORTAL-SUBDOMAIN: <your portal subdomain, for example "academy">

In Zapier, the connection asks for api_url, api_key, and portal_subdomain, and tests them with GET /integrations/zapier/me. A key only works for the portal it was created in.

Permissions

Every key carries an explicit list of permissions. Requests outside that list return 403.

PermissionAllows
course:listList published courses and Shopify course mappings
course:readView course details
certificate:read_anyReceive certificate events
enrollment:listReceive enrollment and portal events
enrollment:readView enrollment details
enrollment:createCreate enrollments and Shopify mappings
enrollment:updateUpdate enrollments
enrollment:deleteRemove enrollments
portal:invite_userCreate and invite learners
user:read_anyFind learners by email or your learner ID
user:update_anyUpdate learner details, including your learner ID

Using your own IDs

Courses and portal members can carry a customer_ref: your own identifier for the record, such as a course code (safety101) or the learner's ID in your CRM. Each ref is unique within a portal and up to 255 characters. Admins set it on courses and portal members in edaxu, and the Create Learner action can set it when it adds a learner.

Anywhere an action needs a course or learner, you can send the edaxu ID, your customer_ref, or both. In Zapier these appear as “Your Course ID” and “Your Learner ID”. Responses and trigger events include the ref (or null) so you can match records back to your system without storing edaxu IDs.

Endpoints

MethodPathUsed by
GET/integrations/zapier/meConnection test
GET/integrations/zapier/coursesFind Course search, course dropdowns
GET/integrations/zapier/usersFind Learner search
POST/integrations/zapier/usersCreate Learner action
POST/integrations/zapier/enrollmentsEnroll Learner in Course action
GET/integrations/zapier/shopify/course-mappingsMapping lookups
POST/integrations/zapier/shopify/course-mappingsLink Shopify Variant to Course action
POST/integrations/zapier/shopify/enrollmentsEnroll Shopify Purchase action
POST/integrations/zapier/subscriptionsAll triggers
DELETE/integrations/zapier/subscriptions/{subscriptionId}All triggers
GET/integrations/zapier/eventsAll triggers (sample data)

GET /integrations/zapier/me

Test an API key and return its portal and enabled permissions.

Permission: Any active Zapier API key

Response

{
  "integration_id": "7d1c3f0e-1b2a-4c55-9a0e-2f1e8a6b9c10",
  "integration_name": "Shopify course purchases",
  "portal_id": "<portal id>",
  "portal_name": "edaxu Academy",
  "portal_subdomain": "academy",
  "permission_keys": ["course:list", "enrollment:create", "user:read_any", "portal:invite_user"]
}

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain

GET /integrations/zapier/courses

List published courses available to the connection.

Permission: course:list

Query parameters

  • page (integer, default 1)
  • pageSize (integer, 1 to 100, default 100)
  • search (string, optional, matches course name)
  • customer_ref (string, optional, returns only the course with this exact ID of yours)

Response

{
  "page": 1,
  "page_size": 100,
  "total_items": 1,
  "items": [
    { "id": "92a96f1f-6de4-4c91-bd7c-cf29d4b4439f", "name": "Workplace Safety Essentials",
      "description": "Annual safety training.", "published": true, "customer_ref": "safety101" }
  ]
}

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 403 The API key does not have course:list

GET /integrations/zapier/users

Find a learner by exact email address, your learner ID, or both. When both are sent the learner must match both. Returns zero or one match.

Permission: user:read_any

Query parameters

  • email (string, optional)
  • customer_ref (string, optional)
  • Send at least one of email or customer_ref

Response

{
  "items": [
    { "id": "4f0b2c8e-…", "email": "dee@example.com", "first_name": "Dee",
      "last_name": "Demo", "created": false, "customer_ref": "dee-demo-1001" }
  ]
}

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Neither email nor customer_ref was sent
  • 403 The API key does not have user:read_any

POST /integrations/zapier/users

Find or invite a learner. An existing learner in the portal is returned without a second invitation. If a learner in the portal already has the customer_ref you send, that learner is returned; otherwise the ref is assigned to the matched or invited learner.

Permission: portal:invite_user

Request body

{ "email": "dee@example.com", "first_name": "Dee", "last_name": "Demo",
  "customer_ref": "dee-demo-1001" }   // customer_ref is optional

Response

200 existing learner, 201 learner created and invitation queued
{ "id": "4f0b2c8e-…", "email": "dee@example.com", "first_name": "Dee",
  "last_name": "Demo", "created": true, "customer_ref": "dee-demo-1001" }

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 403 The API key does not have portal:invite_user
  • 409 Email belongs to another portal in the hosted organization

POST /integrations/zapier/enrollments

Enroll an existing learner in a published course. Identify the course by course_id or course_customer_ref, and the learner by user_id or user_customer_ref. If you send both for either, they must point to the same record.

Permission: enrollment:create

Request body

{
  "course_id": "92a96f1f-6de4-4c91-bd7c-cf29d4b4439f",  // or "course_customer_ref": "safety101"
  "user_id": "4f0b2c8e-…",                             // or "user_customer_ref": "dee-demo-1001"
  "idempotency_key": "crm-deal-1042",          // optional, makes retries safe
  "enrollment_date_start": 1793500000,         // optional, Unix seconds
  "enrollment_date_end": null,                 // optional, Unix seconds
  "notes": "Enrolled from CRM",                // optional
  "re_enrollment_mode": "restart"              // optional: restart (default) or resume
}

Response

200 earlier result for the same idempotency key, 201 learner enrolled
{ "id": "8c6c895b-…", "course_id": "92a96f1f-…", "user_id": "4f0b2c8e-…",
  "status": "Enrolled", "enrollment_date_start": 1793500000, "enrollment_date_end": null,
  "course_customer_ref": "safety101", "user_customer_ref": "dee-demo-1001",
  "created": true, "idempotent_replay": false }

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Invalid enrollment input, or neither the ID nor customer_ref was sent for the course or learner
  • 403 The API key does not have enrollment:create
  • 404 Course or learner not found in the connected portal, including an unknown customer_ref
  • 409 Enrollment conflicts with the current course or portal state

GET /integrations/zapier/shopify/course-mappings

List Shopify variant-to-course mappings for the portal.

Permission: course:list

Query parameters

  • shopDomain (string, optional)

Response

{ "items": [ { "id": "84e637da-…", "shop_domain": "example.myshopify.com",
  "variant_id": "44012345678901", "product_id": "8123456789012",
  "course": { "id": "92a96f1f-…", "name": "Workplace Safety Essentials", "description": "…", "published": true, "customer_ref": "safety101" },
  "created_at": 1793500000, "updated_at": 1793500000 } ] }

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 403 The API key does not have course:list

POST /integrations/zapier/shopify/course-mappings

Create or update the course linked to a Shopify variant. One variant per store maps to one course.

Permission: course:list and enrollment:create

Request body

{ "shop_domain": "example.myshopify.com", "variant_id": "44012345678901",
  "product_id": "8123456789012",
  "course_id": "92a96f1f-6de4-4c91-bd7c-cf29d4b4439f" }   // or "course_customer_ref": "safety101"

Response

200 with the saved mapping (same shape as the list items above)

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Invalid Shopify mapping
  • 403 The API key lacks a required permission
  • 404 Course not found in the connected portal, including an unknown course_customer_ref

POST /integrations/zapier/shopify/enrollments

Find or invite the customer from a Shopify order line, then enroll them in the mapped course. Retries for the same store, order, and line item return the original enrollment.

Permission: user:read_any, portal:invite_user, and enrollment:create

Request body

{
  "shop_domain": "example.myshopify.com",
  "order_id": "5432109876543",
  "line_item_id": "13579246801357",
  "variant_id": "44012345678901",
  "email": "dee@example.com",
  "first_name": "Dee",
  "last_name": "Demo",
  "enrollment_date_start": null,   // optional
  "enrollment_date_end": null,     // optional
  "notes": "Shopify order #1001",  // optional
  "re_enrollment_mode": "restart"  // optional: restart (default) or resume
}

Response

200 earlier result for the same order line, 201 customer enrolled
{ "enrollment": { …enrollment… }, "user": { …learner… }, "mapping": { …mapping… } }

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Invalid Shopify order data
  • 403 The API key lacks a required permission
  • 404 Shopify variant mapping or course not found
  • 409 Enrollment conflicts with the current course or portal state

POST /integrations/zapier/subscriptions

Subscribe a Zap to a lifecycle event (REST Hook subscribe).

Permission: enrollment:list for enrollment and portal events, certificate:read_any for certificate events

Request body

{ "event_type": "com.edaxu.enrollment.completed.v1",
  "target_url": "https://hooks.zapier.com/hooks/standard/…",
  "zap_id": "123456789" }

Response

200 matching subscription already exists, 201 subscription created
{ "id": "b3f1c2d4-…", "event_type": "com.edaxu.enrollment.completed.v1",
  "created_at": "2026-11-01T16:20:00Z" }

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Unsupported event type or target URL
  • 403 The API key lacks the permission required for the event type

DELETE /integrations/zapier/subscriptions/{subscriptionId}

Unsubscribe a Zap (REST Hook unsubscribe). Must use the key that created the subscription.

Permission: The API key that created the subscription

Response

204 subscription is inactive

Errors

  • 401 Missing, invalid, or revoked API key

GET /integrations/zapier/events

List recent events of one type, newest first. Zapier uses this for trigger samples and the perform-list step.

Permission: Same as the matching subscription

Query parameters

  • eventType (required, one of the event types below)
  • pageSize (integer, 1 to 20, default 3)

Response

An array of event envelopes, described under Trigger events.

Errors

  • 401 Missing, invalid, or revoked API key
  • 403 API key does not belong to the supplied portal subdomain
  • 400 Unsupported event type
  • 403 The API key lacks the permission required for the event type

Trigger events

Triggers use REST Hooks. When a Zap turns on, Zapier subscribes its hook URL with POST /integrations/zapier/subscriptions; when it turns off, Zapier removes it with DELETE /integrations/zapier/subscriptions/{id}. edaxu then posts each matching event to the hook as a CloudEvents 1.0 JSON document.

Zapier triggerEvent typeData included
Learner Enrolledcom.edaxu.enrollment.enrolled.v1portal, learner, course, enrollment
Course Completedcom.edaxu.enrollment.completed.v1portal, learner, course, enrollment
Certificate Issuedcom.edaxu.certificate.issued.v1portal, learner, course, certificate
User Invited to Portalcom.edaxu.portal.user_invited.v1portal, user, invitation
User Joined Portalcom.edaxu.portal.user_joined.v1portal, user, invitation

Event envelope

{
  "specversion": "1.0",
  "id": "0f8a1c2e-…",
  "source": "urn:edaxu:portal:<portal id>",
  "type": "com.edaxu.enrollment.completed.v1",
  "time": "2026-11-01T16:20:00Z",
  "subject": "/enrollments/<enrollment id>",
  "datacontenttype": "application/json",
  "data": {
    "portal":      { "id": "…", "name": "edaxu Academy", "subdomain": "academy" },
    "learner":     { "id": "…", "email": "dee@example.com", "first_name": "Dee", "last_name": "Demo",
                     "customer_ref": "dee-demo-1001" },
    "user":        null,
    "course":      { "id": "…", "name": "Workplace Safety Essentials", "customer_ref": "safety101" },
    "enrollment":  { "id": "…", "status": "completed", "occurrence": "completed",
                     "enrollment_date_start": "2026-10-01T00:00:00Z", "enrollment_date_end": null,
                     "completed_at": "2026-11-01T16:20:00Z" },
    "certificate": null,
    "invitation":  null
  }
}

Every key in data is present on every event. Objects that don't apply to an event type are null. The subject is /enrollments/{id}, /certificates/{id}, or /portal-invitations/{id}.

  • Enrollment events: enrollment.occurrence is created, resumed, or completed, and status is the lowercase enrollment status.
  • Certificate events: certificate holds id, status, issuance_type, issued_at, expires_at, verification_url, and enrollment_id; enrollment is null.
  • learner.customer_ref, user.customer_ref, and course.customer_ref hold your IDs for those records in the event's portal, or null when none is set.
  • Portal events: user and invitation are filled (id, status, invited_at, expires_at, accepted_at, invited_by); learner, course, and enrollment are null.

Event timestamps are ISO 8601 in UTC.

Retries and duplicates

  • Enrollment requests accept an idempotency_key. Repeating a key returns the first result with idempotent_replay: true.
  • Shopify enrollments are deduplicated by store, order ID, and line item ID automatically.
  • An active enrollment in the same course is returned unchanged. For a finished one, restart creates a new enrollment and resume reopens it.
  • Creating a learner who already belongs to the portal returns that learner with created: false and sends no new invitation.

Errors

Errors return a standard HTTP status with a short plain-text message, for example 401 Invalid Zapier API key or 403 API key does not belong to this portal subdomain.

Support

Questions about the API or the Zapier app: sales@edaxu.com.

edaxu

Bring training, teams, and progress together. A learning platform for the people who learn and the people who make learning happen.

Product
  • Features
  • SCORM Dispatch
  • Integrations
  • Pricing
Solutions
  • Certification management
  • Employee training LMS
  • LMS for training providers
  • Client training portals
Compare
  • edaxu vs Absorb LMS
  • edaxu vs Docebo
  • edaxu vs LearnUpon
  • edaxu vs TalentLMS
  • All comparisons
Resources
  • Blog
  • Free LMS tools
  • SCORM Manifest Parser
  • xAPI Statement Validator
  • SCORM guide
  • Cert tracking guide
  • Zapier API reference
Company
  • About
  • Careers
  • Contact
© 2026 edaxu LLC
PrivacyTermsllms.txtLinkedInInstagramXYouTube