How can I create a custom plugin to call webapi after user registration?

How can I create a custom plugin to call webapi after user registration?