Registration API endpoint