Skip to main content
WorkOS logo

WorkOS

WorkOS: organizations, SSO connections, directory sync, users, audit logs. Exposes 40 actions covering the API surface an agent needs - read and write.

What it can do

MethodWhat it does
workos_organizations_listList organizations - GET /organizations.
workos_organization_getGet one organization - GET /organizations/{id}.
workos_organization_createCreate an organization - POST /organizations.
workos_organization_updateUpdate an organization - PATCH /organizations/{id}.
workos_organization_deleteDelete an organization - DELETE /organizations/{id}.
workos_connections_listList connections (SSO/OAuth providers) - GET /connections.
workos_connection_getGet one connection - GET /connections/{id}.
workos_connection_createCreate a connection (SSO provider) - POST /connections.
workos_connection_updateUpdate a connection - PATCH /connections/{id}.
workos_connection_deleteDelete a connection - DELETE /connections/{id}.
workos_connection_activateActivate a connection - POST /connections/{id}/activate.
workos_connection_deactivateDeactivate a connection - POST /connections/{id}/deactivate.
workos_directories_listList directories (SCIM/directory-sync sources) - GET /directories.
workos_directory_getGet one directory - GET /directories/{id}.
workos_directory_sync_usersList synced users from a directory - GET /directories/{id}/users.
workos_directory_sync_groupsList synced groups from a directory - GET /directories/{id}/groups.
workos_directory_user_getGet a synced directory user - GET /directories/{directory_id}/users/{user_id}.
workos_directory_group_getGet a synced directory group - GET /directories/{directory_id}/groups/{group_id}.
workos_users_listList users - GET /users.
workos_user_getGet one user - GET /users/{id}.
workos_user_createCreate a user - POST /users.
workos_user_updateUpdate a user - PATCH /users/{id}.
workos_user_deleteDelete a user - DELETE /users/{id}.
workos_user_inviteInvite a user (send passwordless invitation) - POST /users/invites.
workos_organization_memberships_listList organization memberships - GET /organization_memberships.
workos_organization_membership_getGet one organization membership - GET /organization_memberships/{id}.
workos_organization_membership_createCreate an organization membership (add user to org) - POST /organization_memberships.
workos_organization_membership_updateUpdate an organization membership - PATCH /organization_memberships/{id}.
workos_organization_membership_deleteDelete an organization membership - DELETE /organization_memberships/{id}.
workos_audit_logs_listList audit logs - GET /audit_logs.
workos_events_listList events - GET /events.
workos_event_getGet one event - GET /events/{id}.
workos_mfa_enrollments_listList MFA enrollments for a user - GET /users/{id}/mfa_enrollments.
workos_mfa_enrollment_getGet one MFA enrollment - GET /mfa_enrollments/{id}.
workos_mfa_enrollment_createCreate an MFA enrollment for a user - POST /users/{id}/mfa_enrollments.
workos_mfa_enrollment_deleteDelete an MFA enrollment - DELETE /mfa_enrollments/{id}.
workos_mfa_verifyVerify an MFA enrollment with code - POST /mfa_enrollments/{id}/verify.
workos_portal_links_listList portal links - GET /portal_links.
workos_portal_link_createCreate a portal link - POST /portal_links.
workos_portal_link_getGet one portal link - GET /portal_links/{id}.

How to get credentials

This connector uses an API key / token. Create one in the provider dashboard, then paste it into FlyMyAI:

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
WORKOS_API_KEYWorkOS Dashboard - API Keys - Secret key (sk_...).

Troubleshooting

  • 401 Unauthorized / 403 Forbidden - the token is wrong, expired, or missing a required scope; regenerate it.
  • 429 Too Many Requests - provider rate limit; retry after a short backoff.
  • Unexpected 4xx on writes - double-check required fields; the agent confirms before write actions.
We love our partners - FlyMy.AI builds with the best. Thanks, WorkOS!