this should work for simple API endpoint which requires an auth token. if more is needed, you'll have to override telemetry handler