Getting Profiles

You generated a profile for a user, Now you want to get all of the profiles you created. The following function will allow you to get all of the profiles for an organization.

Example: of how to get profiles

import { Oumla } from "@oumla/sdk";

const client = new Oumla({
   apiKey: process.env.API_KEY,
   // Additional options...
});

const profile =  await client.getProfiles();

// you can print 
   console.log(profile);
// return type is Profile

Last updated