Invoke a function

Invokes a Supabase Function. See the guide for details on writing Functions.

  • Requires an Authorization header.
  • Invoke params generally match the Fetch API spec.

final res = await supabase.functions.invoke('hello', body: {'foo': 'baa'});
final data = res.data;
Need some help?

Not to worry, our specialist engineers are here to help. Submit a support ticket through the Dashboard.