Sanity

Sanity is a headless CMS platform that provides structured content storage and APIs for modern applications

16 actionsAPI key

Connect Sanity

What your bot can do in Sanity

Looks up

  • List Resource UsersList all users of a resource and their assigned roles.
  • Get Invite By TokenRetrieve an invite by its public token.
  • Get Organization RoleRetrieve a specific organization role by its ID.
  • Get PermissionGet a permission for a specific resource.
  • Get RobotsGet robots with access to a resource.
  • Get RoleRetrieve a specific role for a given resource type and resource ID.
  • List Organization RolesList all roles available for an organization.
  • List User AttributesRetrieve user attributes from a Sanity organization.
  • Query All ScreeningExecute a GROQ query to fetch all screening documents from Sanity.

Takes action

  • Add Default Role to UsersApply organization default role to all users.
  • Create Attribute DefinitionCreate a new user attribute definition in Sanity.
  • Create Prompt PostSend a one-shot prompt to the Sanity Content Agent.
  • Delete User Attribute DefinitionDelete a user attribute definition.
  • Delete User AttributesDelete custom attributes from a Sanity user within an organization.
  • Update Organization ACLAssign a role to a member in a Sanity organization.
  • Update User Attributes ValuesUpdate user attribute values for a resource.

More developer apps