api: add Sentry support