get_organization_invites
imerit_ango.sdk.SDK.
get_organization_invites(organization_id)
Retrieve the list of pending invites for an organization.
Parameters
- organization_id: string - The unique identifier for the organization. You can find the organization ID in the user interface. 
 
Returns:
- output: dict - A dictionary containing the result of the operation. 
 
Example
import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK
load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
organization_id = os.getenv('ORGANIZATION_ID')
ango_sdk = SDK(api_key)
sdk_response = ango_sdk.get_organization_invites(organization_id=organization_id)
invites = sdk_response['data']['invites']curl -X GET "https://imeritapi.ango.ai/v2/organization/$ORGANIZATION_ID/invites?status=pending" \
  -H "Content-Type: application/json" \
  -H "apikey: $ANGO_API_KEY"Last updated

