Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs

    UNSOLVED In the Webhooks API, what are the "complete" events?

    Q&A
    1
    2
    99
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vinicius.campitelli last edited by

      In the Webhooks API, I see there are similar events with a .complete suffix. What are they for?

      • user.create and user.create.complete
      • user.update and user.update.complete
      • user.delete and user.delete.complete
      • user.registration.create and user.registration.create.complete
      • user.registration.update and user.registration.update.complete
      • user.registration.delete and user.registration.delete.complete
      1 Reply Last reply Reply Quote 0
      • V
        vinicius.campitelli last edited by

        Those events without the complete suffix are sent before we commit the database transaction and the ones with complete are sent after we commit the transaction.

        This means that the actual entities (user and user registration) don't actually exist when the first non-complete events are emitted.

        Take a look at our Calling FusionAuth APIs In Webhooks guide for more details.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post