Developer docs
De Pluvo API geeft je programmatische toegang tot je leeromgeving. Beheer gebruikers, groepen, trainingen, inschrijvingen en certificaten vanuit je eigen systemen.
De API is gebaseerd op GraphQL. Je bepaalt zelf welke data je opvraagt of muteert, zonder overbodige velden. Authenticatie verloopt via OAuth 2.0 met client credentials. Webhooks houden je systemen real-time op de hoogte van wijzigingen.
Offer
Concept
In Pluvo, the enrollment system is built around Offers and OfferEvents. An Offer is a template that defines a training program, while OfferEvents are concrete instances with dates and capacity.
Get offers
query {
paginatedOffers(first: 50) {
edges {
node {
id name ref
offerEvents { id name maxParticipants }
training { id title }
}
}
count
}
}Create offer
mutation {
createOffer(offer: {
name: "Leadership Training"
ref: "offer-leadership"
trainingId: "training-uuid"
}) {
offer { id name ref }
}
}Update offer
mutation {
updateOffer(ref: "offer-leadership", offer: { name: "Advanced Leadership" }) {
offer { id name }
}
}Notes
- Offers connect trainings to enrollment workflows.
- Each offer can have multiple events for different cohorts.
- Use ref for external system integration.