Tahdah API
  1. Webhooks
Tahdah API
  • Introduction
  • Webhooks
  • TrustGroups
    • About Trust Groups
    • Endpoints
      • List Trust Groups
      • Create a Trust Group
      • Update Trust Group
      • List Trust Group Legal Entity Members
      • List Trust Group Candidate Members
      • Add Trust Group Member
      • Remove Trust Group Member
    • Webhooks
      • Member Added
      • Member Updated
  • EventCredits
    • Webhooks
      • Event Credits Updated
        POST
    • Add Credits to Legal Entity
      PUT
  • Tracker
    • Webhooks
    • Get Candidate Trackers
      GET
    • Get Legal Entity Targets
      GET
  • LearningExperiences
    • EndPoints
      • Register Learners on a Learning Experience
      • Get Learning Experiences
      • Get Learning Experience
    • Webhooks
  • DigitalBadges
    • Issue Digital Badge
      POST
    • Get Badge Templates
      GET
  • LegalEntities
    • Endpoints
      • Legal Entity Details
      • Create Legal Entity
      • Connect a Person to a Legal Entity
    • Webhooks
  • Candidates
    • EndPoints
      • Create Candidate
      • Update a Candidate
      • Delete Candidate
      • Add/Remove tags to a candidate
    • Webhooks
  • Catalogues
    • Endpoints
    • Webhooks
      • Catalogue Entry Created
  • Schemas
    • Inbound
    • Events
      • EventTemplateCreditRequest
      • EventTemplateCredit
    • Catalogue
      • CatalogueEntry
    • TrustGroupMember
    • temp
    • LegalEntity
    • legalEntityIdentifier
    • Candidate
  1. Webhooks

Event Credits Updated

Designing
POST
/eventcredits/webhooks
This webhook triggers after a provider allocates one or more event credits to an event and contains details of the new balance for each event credit and details of what the credits were used for during this operation.

Request

Header Params

Body Params application/json

Example
[
    {
        "id": 123,
        "eventTemplateId": 7462,
        "quantityRemaining": 7,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            },
            {
                "description": "Course place for Jeff Doe"
            }
        ]
    },
    {
        "id": 123,
        "eventTemplateId": 5487,
        "quantityRemaining": 8,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            }
        ]
    },
    {
        "id": 123,
        "eventTemplateId": 7463,
        "quantityRemaining": 8,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            }
        ]
    }
]

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.tahdah.me/eventcredits/webhooks' \
--header 'Webhook-Signature;' \
--header 'Webhook-Verb: eventcredits.updated' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "id": 123,
        "eventTemplateId": 7462,
        "quantityRemaining": 7,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            },
            {
                "description": "Course place for Jeff Doe"
            }
        ]
    },
    {
        "id": 123,
        "eventTemplateId": 5487,
        "quantityRemaining": 8,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            }
        ]
    },
    {
        "id": 123,
        "eventTemplateId": 7463,
        "quantityRemaining": 8,
        "remoteOrderNumber": "ABC123",
        "creditsConsumed": [
            {
                "description": "Course place for John Doe"
            },
            {
                "description": "Course place for Jane Doe"
            }
        ]
    }
]'

Responses

🟢200Success
application/json
Body

Example
"OK"
Modified at 2025-03-12 16:00:20
Previous
Member Updated
Next
Add Credits to Legal Entity
Built with